#330518#330518
#330518 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.075 H 0.4°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).
Color values
| HEX | #330518 |
|---|---|
| RGB | rgb(51, 5, 24) |
| HSL | hsl(335, 82%, 11%) |
| HSV | hsv(335, 90%, 20%) |
| CMYK | cmyk(0%, 90.2%, 52.9%, 80%) |
| CIE-LAB | lab(7.94, 24.56, 0.09) |
| CIE-LCH | lch(7.94, 24.56, 0.21°) |
| OKLab | oklab(21.62% 0.0754 0.0005) |
| OKLCH | oklch(21.62% 0.075 0.4) |
| XYZ | xyz(1.5845, 0.8785, 0.9501) |
| Luminance | 0.0088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.90
Dark Plum
#3F012C
ΔE00 7.06
Aubergine
#3D0734
ΔE00 9.11
Eggplant
#380835
ΔE00 10.00
Deep Brown
#410200
ΔE00 10.41
Burgundy (survey)
#610023
ΔE00 10.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#330518 #053320
analogous
#33052F #330518 #330905
triadic
#330518 #183305 #051833
tetradic
#330518 #2F3305 #053320 #090533
square
#330518 #2F3305 #053320 #090533
split-complementary
#330518 #053309 #052F33
monochromatic
#1C030D #1C030D #330518 #6B0A32 #A2104C
Accessibility & contrast
On white
17.86
#330518 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#330518 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #330518
17.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##330518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##330518 | 1.00 | 17.86 | 1.18 | 17.86 |
| #FFFFFF | 17.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F1218
Deuteranopia (green-blind)
#1C1B17
Tritanopia (blue-blind)
#38010D
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #330518; /* rgb */ color: rgb(51, 5, 24); /* oklch */ color: oklch(21.6% 0.075 0.4);
Tailwind
colors: {
custom: {
50: '#6e4954',
500: '#330518',
950: '#000000',
},
}SCSS
$custom: #330518; $custom-light: #6e4954; $custom-dark: #000000;
JSON
{
"hex": "#330518",
"rgb": {
"r": 51,
"g": 5,
"b": 24
},
"hsl": {
"h": 335.217,
"s": 82.143,
"l": 10.98
},
"oklch": {
"l": 0.21623,
"c": 0.07544,
"h": 0.4
},
"luminance": 0.00878
}Semantic roles & 50–950 ramp
primary
#330518
secondary
#1F7451
accent
#F8A52F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778