#340512#340512
#340512 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.075 H 9.5°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).
Color values
| HEX | #340512 |
|---|---|
| RGB | rgb(52, 5, 18) |
| HSL | hsl(343, 82%, 11%) |
| HSV | hsv(343, 90%, 20%) |
| CMYK | cmyk(0%, 90.4%, 65.4%, 79.6%) |
| CIE-LAB | lab(7.97, 24.28, 4.31) |
| CIE-LCH | lch(7.97, 24.66, 10.08°) |
| OKLab | oklab(21.63% 0.0737 0.0123) |
| OKLCH | oklch(21.63% 0.075 9.5) |
| XYZ | xyz(1.5798, 0.8825, 0.6593) |
| Luminance | 0.0088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.33
Deep Brown
#410200
ΔE00 7.68
Dark Plum
#3F012C
ΔE00 9.58
Mahogany
#4A0100
ΔE00 9.80
Burgundy (survey)
#610023
ΔE00 9.80
Dried Blood
#4B0101
ΔE00 9.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#340512 #053427
analogous
#340529 #340512 #340F05
triadic
#340512 #123405 #051234
tetradic
#340512 #293405 #053427 #0F0534
square
#340512 #293405 #053427 #0F0534
split-complementary
#340512 #05340F #052934
monochromatic
#1C030A #1C030A #340512 #6C0A25 #A41039
Accessibility & contrast
On white
17.85
#340512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#340512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #340512
17.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##340512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##340512 | 1.00 | 17.85 | 1.18 | 17.85 |
| #FFFFFF | 17.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#111112
Deuteranopia (green-blind)
#1D1B11
Tritanopia (blue-blind)
#3A000A
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #340512; /* rgb */ color: rgb(52, 5, 18); /* oklch */ color: oklch(21.6% 0.075 9.5);
Tailwind
colors: {
custom: {
50: '#6f494f',
500: '#340512',
950: '#000000',
},
}SCSS
$custom: #340512; $custom-light: #6f494f; $custom-dark: #000000;
JSON
{
"hex": "#340512",
"rgb": {
"r": 52,
"g": 5,
"b": 18
},
"hsl": {
"h": 343.404,
"s": 82.456,
"l": 11.176
},
"oklch": {
"l": 0.21627,
"c": 0.07476,
"h": 9.5
},
"luminance": 0.00882
}Semantic roles & 50–950 ramp
primary
#340512
secondary
#1F755E
accent
#F9C12F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778