#51102B#51102B
#51102B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.098 H 0.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #51102B |
|---|---|
| RGB | rgb(81, 16, 43) |
| HSL | hsl(335, 67%, 19%) |
| HSV | hsv(335, 80%, 32%) |
| CMYK | cmyk(0%, 80.2%, 46.9%, 68.2%) |
| CIE-LAB | lab(16.96, 32.05, -0.14) |
| CIE-LCH | lch(16.96, 32.05, 359.76°) |
| OKLab | oklab(29.71% 0.0983 0) |
| OKLCH | oklch(29.71% 0.098 0) |
| XYZ | xyz(4.0150, 2.2948, 2.5166) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.94
Plum (survey)
#580F41
ΔE00 6.94
Dark Plum
#3F012C
ΔE00 6.97
Merlot
#730039
ΔE00 7.10
Maroon (survey)
#650021
ΔE00 7.48
Dark Maroon
#3C0008
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51102B #105136
analogous
#51104C #51102B #511610
triadic
#51102B #2B5110 #102B51
tetradic
#51102B #4C5110 #105136 #161051
square
#51102B #4C5110 #105136 #161051
split-complementary
#51102B #105116 #104C51
monochromatic
#1A050E #1E0610 #51102B #841A46 #B72461
Accessibility & contrast
On white
14.40
#51102B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#51102B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51102B
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51102B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51102B | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E222C
Deuteranopia (green-blind)
#302E29
Tritanopia (blue-blind)
#58061C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51102b; /* rgb */ color: rgb(81, 16, 43); /* oklch */ color: oklch(29.7% 0.098 0.0);
Tailwind
colors: {
custom: {
50: '#865564',
500: '#51102b',
950: '#000000',
},
}SCSS
$custom: #51102b; $custom-light: #865564; $custom-dark: #000000;
JSON
{
"hex": "#51102b",
"rgb": {
"r": 81,
"g": 16,
"b": 43
},
"hsl": {
"h": 335.077,
"s": 67.01,
"l": 19.02
},
"oklch": {
"l": 0.29705,
"c": 0.09833,
"h": 0
},
"luminance": 0.02294
}Semantic roles & 50–950 ramp
primary
#51102B
secondary
#328B66
accent
#EAA23E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879