#51122B#51122B
#51122B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.096 H 0.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #51122B |
|---|---|
| RGB | rgb(81, 18, 43) |
| HSL | hsl(336, 64%, 19%) |
| HSV | hsv(336, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 46.9%, 68.2%) |
| CIE-LAB | lab(17.26, 31.23, 0.29) |
| CIE-LCH | lch(17.26, 31.23, 0.54°) |
| OKLab | oklab(29.92% 0.0957 0.0011) |
| OKLCH | oklch(29.92% 0.096 0.7) |
| XYZ | xyz(4.0460, 2.3569, 2.5269) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.89
Merlot
#730039
ΔE00 7.23
Plum (survey)
#580F41
ΔE00 7.24
Dark Plum
#3F012C
ΔE00 7.30
Maroon (survey)
#650021
ΔE00 7.37
Dark Maroon
#3C0008
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51122B #125138
analogous
#51124B #51122B #511812
triadic
#51122B #2B5112 #122B51
tetradic
#51122B #4B5112 #125138 #181251
square
#51122B #4B5112 #125138 #181251
split-complementary
#51122B #125118 #124B51
monochromatic
#19060D #1F0710 #51122B #831D46 #B52860
Accessibility & contrast
On white
14.27
#51122B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#51122B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51122B
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51122B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51122B | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F232C
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#58091C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51122b; /* rgb */ color: rgb(81, 18, 43); /* oklch */ color: oklch(29.9% 0.096 0.7);
Tailwind
colors: {
custom: {
50: '#855664',
500: '#51122b',
950: '#000000',
},
}SCSS
$custom: #51122b; $custom-light: #855664; $custom-dark: #000000;
JSON
{
"hex": "#51122b",
"rgb": {
"r": 81,
"g": 18,
"b": 43
},
"hsl": {
"h": 336.19,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29922,
"c": 0.09572,
"h": 0.7
},
"luminance": 0.02356
}Semantic roles & 50–950 ramp
primary
#51122B
secondary
#358A68
accent
#E7A541
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879