#51102F#51102F
#51102F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.100 H 356.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #51102F |
|---|---|
| RGB | rgb(81, 16, 47) |
| HSL | hsl(331, 67%, 19%) |
| HSV | hsv(331, 80%, 32%) |
| CMYK | cmyk(0%, 80.2%, 42%, 68.2%) |
| CIE-LAB | lab(17.11, 32.52, -2.79) |
| CIE-LCH | lch(17.11, 32.64, 355.09°) |
| OKLab | oklab(29.86% 0.0998 -0.0069) |
| OKLCH | oklch(29.86% 0.1 356) |
| XYZ | xyz(4.0920, 2.3257, 2.9222) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 5.43
Dark Plum
#3F012C
ΔE00 5.81
Merlot
#730039
ΔE00 7.14
Burgundy (survey)
#610023
ΔE00 7.19
Aubergine
#3D0734
ΔE00 7.70
Maroon (survey)
#650021
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51102F #105132
analogous
#511050 #51102F #511210
triadic
#51102F #2F5110 #102F51
tetradic
#51102F #505110 #105132 #121051
square
#51102F #505110 #105132 #121051
split-complementary
#51102F #105112 #105051
monochromatic
#1A050F #1E0611 #51102F #841A4D #B7246A
Accessibility & contrast
On white
14.33
#51102F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#51102F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51102F
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51102F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51102F | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2230
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#58081D
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51102f; /* rgb */ color: rgb(81, 16, 47); /* oklch */ color: oklch(29.9% 0.100 356.0);
Tailwind
colors: {
custom: {
50: '#855567',
500: '#51102f',
950: '#000000',
},
}SCSS
$custom: #51102f; $custom-light: #855567; $custom-dark: #000000;
JSON
{
"hex": "#51102f",
"rgb": {
"r": 81,
"g": 16,
"b": 47
},
"hsl": {
"h": 331.385,
"s": 67.01,
"l": 19.02
},
"oklch": {
"l": 0.29861,
"c": 0.10005,
"h": 356
},
"luminance": 0.02325
}Semantic roles & 50–950 ramp
primary
#51102F
secondary
#328B60
accent
#EA983E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A