#340F1B#340F1B
#340F1B is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.4% C 0.061 H 2.9°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).
Color values
| HEX | #340F1B |
|---|---|
| RGB | rgb(52, 15, 27) |
| HSL | hsl(341, 55%, 13%) |
| HSV | hsv(341, 71%, 20%) |
| CMYK | cmyk(0%, 71.2%, 48.1%, 79.6%) |
| CIE-LAB | lab(10.19, 20.01, 1.09) |
| CIE-LCH | lch(10.19, 20.04, 3.11°) |
| OKLab | oklab(23.37% 0.061 0.0031) |
| OKLCH | oklch(23.37% 0.061 2.9) |
| XYZ | xyz(1.7849, 1.1510, 1.1649) |
| Luminance | 0.0115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 7.22
Dark Plum
#3F012C
ΔE00 8.73
Very Dark Brown
#1D0200
ΔE00 9.21
Deep Brown
#410200
ΔE00 10.03
Aubergine
#3D0734
ΔE00 10.26
Eggplant
#380835
ΔE00 11.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#340F1B #0F3428
analogous
#340F2D #340F1B #34150F
triadic
#340F1B #1B340F #0F1B34
tetradic
#340F1B #2D340F #0F3428 #150F34
square
#340F1B #2D340F #0F3428 #150F34
split-complementary
#340F1B #0F3415 #0F2D34
monochromatic
#18070C #18070C #340F1B #631D34 #932A4C
Accessibility & contrast
On white
17.07
#340F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#340F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #340F1B
17.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##340F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##340F1B | 1.00 | 17.07 | 1.23 | 17.07 |
| #FFFFFF | 17.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16171B
Deuteranopia (green-blind)
#201F1A
Tritanopia (blue-blind)
#390B14
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #340f1b; /* rgb */ color: rgb(52, 15, 27); /* oklch */ color: oklch(23.4% 0.061 2.9);
Tailwind
colors: {
custom: {
50: '#6e4f57',
500: '#340f1b',
950: '#000000',
},
}SCSS
$custom: #340f1b; $custom-light: #6e4f57; $custom-dark: #000000;
JSON
{
"hex": "#340f1b",
"rgb": {
"r": 52,
"g": 15,
"b": 27
},
"hsl": {
"h": 340.541,
"s": 55.224,
"l": 13.137
},
"oklch": {
"l": 0.23369,
"c": 0.06111,
"h": 2.9
},
"luminance": 0.01151
}Semantic roles & 50–950 ramp
primary
#340F1B
secondary
#316E5A
accent
#DFAE49
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070203
muted
#7A7878