Warna bernama terdekat · #28131B
#28131B
Warna bernama terdekat: Black Cherry
#28131B (rgb(40 19 27), hsl(337 36% 12%), oklch(0.22 0.037 356.2)) paling mendekati warna bernama Black Cherry. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#28131B
oklch(0.22 0.037 356.2)
Konversi warna
- HEX
- #28131b
- RGB
- rgb(40 19 27)
- HSL
- hsl(337 36% 12%)
- HWB
- hwb(337 7% 84%)
- OKLCH
- oklch(0.22 0.037 356.2)
- OKLab
- oklab(0.22 0.037 -0.002)
- CIE Lab
- lab(9.04 12.08 -0.78)
- LCH
- lch(9.04 12.11 356.3)
- CMYK
- cmyk(0% 53% 33% 84%)
Tint · Shade · Tone
Tint
- 3B262E
- 4F3B42
- 635157
- 78676D
- 8D7F83
- A3979B
- B9B0B3
- D0CACC
- E7E4E5
Shade
- 210F16
- 1B0B11
- 15070C
- 0F0508
- 090305
- 040102
- 020101
- 010000
- 000000
Tone
- 301D24
- 39272D
- 423137
- 4A3C40
- 53464B
- 5C5155
- 655D5F
- 6E686A
- 777475
Harmoni warna
Komplementer +180°
- 28131B
Black Cherry
- 03201A
≈ Stellar Explorer
Analog -30° +30°
- 28131B
Black Cherry
- 231424
≈ Inside
- 291311
≈ Dark Danger
Triadik +120° +240°
- 28131B
Black Cherry
- 1A1D07
≈ Nightmare
- 071D29
≈ Oxford by Night
Split-komplementer +150° +210°
- 28131B
Black Cherry
- 0F1F10
≈ Nightmare
- 011F23
≈ Stellar Explorer
Tetradik +90° +180° +270°
- 28131B
Black Cherry
- 221905
≈ Cannon Black
- 03201A
≈ Stellar Explorer
- 131A2C
≈ Sambucus
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.51:1 · APCA Lc 104
Ag
FailDi atas hitam
WCAG 1.19:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.51:1 (AAA) · APCA Lc 104
Contrast pairs
Cuplikan kode
CSS
:root {
--black-cherry: #28131b;
--black-cherry-rgb: 40 19 27;
--black-cherry-oklch: oklch(0.22 0.037 356.2);
}
.element {
color: var(--black-cherry);
background-color: hsl(337 36% 12%);
border-color: oklch(0.22 0.037 356.2);
}Tailwind CSS v4
@theme {
--color-black-cherry: #28131b;
--color-black-cherry-50: #fff1f5;
--color-black-cherry-100: #f3e3e8;
--color-black-cherry-200: #e2ced4;
--color-black-cherry-300: #c8b0b7;
--color-black-cherry-400: #b1969f;
--color-black-cherry-500: #9b7c87;
--color-black-cherry-600: #836972;
--color-black-cherry-700: #69545b;
--color-black-cherry-800: #4d3d43;
--color-black-cherry-900: #362a2e;
--color-black-cherry-950: #21181b;
}SCSS
$black-cherry: #28131b;
$black-cherry-rgb: 40, 19, 27;
$black-cherry-light: mix(#fff, $black-cherry, 20%);
$black-cherry-dark: mix(#000, $black-cherry, 20%);
.element {
color: $black-cherry;
box-shadow: 0 0 0 2px rgba($black-cherry, 0.35);
}