#51233E#51233E
#51233E is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.078 H 345.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #51233E |
|---|---|
| RGB | rgb(81, 35, 62) |
| HSL | hsl(325, 40%, 23%) |
| HSV | hsv(325, 57%, 32%) |
| CMYK | cmyk(0%, 56.8%, 23.5%, 68.2%) |
| CIE-LAB | lab(21.21, 25.26, -7.17) |
| CIE-LCH | lch(21.21, 26.26, 344.15°) |
| OKLab | oklab(33.09% 0.0756 -0.0189) |
| OKLCH | oklch(33.09% 0.078 345.9) |
| XYZ | xyz(4.8640, 3.2996, 4.9372) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 5.55
Dark Plum
#3F012C
ΔE00 7.62
Grape Purple
#5D1451
ΔE00 7.68
Aubergine
#3D0734
ΔE00 7.68
Grape
#6C3461
ΔE00 8.58
Eggplant
#380835
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51233E #235136
analogous
#4D2351 #51233E #512327
triadic
#51233E #3E5123 #233E51
tetradic
#51233E #514D23 #235136 #232751
square
#51233E #514D23 #235136 #232751
split-complementary
#51233E #275123 #23514D
monochromatic
#150910 #26111D #51233E #7C355F #A6487F
Accessibility & contrast
On white
12.65
#51233E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#51233E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51233E
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51233E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51233E | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272E3F
Deuteranopia (green-blind)
#33363D
Tritanopia (blue-blind)
#56222D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #51233e; /* rgb */ color: rgb(81, 35, 62); /* oklch */ color: oklch(33.1% 0.078 345.9);
Tailwind
colors: {
custom: {
50: '#836073',
500: '#51233e',
950: '#000000',
},
}SCSS
$custom: #51233e; $custom-light: #836073; $custom-dark: #000000;
JSON
{
"hex": "#51233e",
"rgb": {
"r": 81,
"g": 35,
"b": 62
},
"hsl": {
"h": 324.783,
"s": 39.655,
"l": 22.745
},
"oklch": {
"l": 0.33089,
"c": 0.07792,
"h": 345.9
},
"luminance": 0.03299
}Semantic roles & 50–950 ramp
primary
#51233E
secondary
#4B8563
accent
#D08A58
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0508
muted
#7C797B