#511B33#511B33
#511B33 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.086 H 355.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #511B33 |
|---|---|
| RGB | rgb(81, 27, 51) |
| HSL | hsl(333, 50%, 21%) |
| HSV | hsv(333, 67%, 32%) |
| CMYK | cmyk(0%, 66.7%, 37%, 68.2%) |
| CIE-LAB | lab(19.11, 27.97, -2.67) |
| CIE-LCH | lch(19.11, 28.09, 354.55°) |
| OKLab | oklab(31.39% 0.0853 -0.0067) |
| OKLCH | oklch(31.39% 0.086 355.5) |
| XYZ | xyz(4.3830, 2.7727, 3.4357) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 6.12
Dark Plum
#3F012C
ΔE00 7.04
Merlot
#730039
ΔE00 8.05
Burgundy (survey)
#610023
ΔE00 8.13
Aubergine
#3D0734
ΔE00 8.33
Grape Purple
#5D1451
ΔE00 9.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511B33 #1B5139
analogous
#511B4E #511B33 #511E1B
triadic
#511B33 #33511B #1B3351
tetradic
#511B33 #4E511B #1B5139 #1E1B51
square
#511B33 #4E511B #1B5139 #1E1B51
split-complementary
#511B33 #1B511E #1B4E51
monochromatic
#17080E #230C16 #511B33 #7F2A50 #AD3A6D
Accessibility & contrast
On white
13.51
#511B33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#511B33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511B33
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511B33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511B33 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242834
Deuteranopia (green-blind)
#323232
Tritanopia (blue-blind)
#581724
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511b33; /* rgb */ color: rgb(81, 27, 51); /* oklch */ color: oklch(31.4% 0.086 355.5);
Tailwind
colors: {
custom: {
50: '#845b6a',
500: '#511b33',
950: '#000000',
},
}SCSS
$custom: #511b33; $custom-light: #845b6a; $custom-dark: #000000;
JSON
{
"hex": "#511b33",
"rgb": {
"r": 81,
"g": 27,
"b": 51
},
"hsl": {
"h": 333.333,
"s": 50,
"l": 21.176
},
"oklch": {
"l": 0.31386,
"c": 0.08553,
"h": 355.5
},
"luminance": 0.02772
}Semantic roles & 50–950 ramp
primary
#511B33
secondary
#418768
accent
#DA9C4E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A