#4A1239#4A1239
#4A1239 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 342.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1239 |
|---|---|
| RGB | rgb(74, 18, 57) |
| HSL | hsl(318, 61%, 18%) |
| HSV | hsv(318, 76%, 29%) |
| CMYK | cmyk(0%, 75.7%, 23%, 71%) |
| CIE-LAB | lab(16.43, 30.89, -11.09) |
| CIE-LCH | lch(16.43, 32.82, 340.25°) |
| OKLab | oklab(29.24% 0.0925 -0.0297) |
| OKLCH | oklch(29.24% 0.097 342.2) |
| XYZ | xyz(3.7790, 2.1842, 4.0927) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.19
Aubergine
#3D0734
ΔE00 3.59
Dark Plum
#3F012C
ΔE00 3.65
Eggplant
#380835
ΔE00 4.95
Eggplant Purple
#430541
ΔE00 5.39
Grape Purple
#5D1451
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1239 #124A23
analogous
#3F124A #4A1239 #4A121D
triadic
#4A1239 #394A12 #12394A
tetradic
#4A1239 #4A3F12 #124A23 #121D4A
square
#4A1239 #4A3F12 #124A23 #121D4A
split-complementary
#4A1239 #1D4A12 #124A3F
monochromatic
#190613 #190613 #4A1239 #7B1E5F #AC2A85
Accessibility & contrast
On white
14.62
#4A1239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#4A1239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1239
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1239 | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17233A
Deuteranopia (green-blind)
#282C38
Tritanopia (blue-blind)
#4F1323
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #4a1239; /* rgb */ color: rgb(74, 18, 57); /* oklch */ color: oklch(29.2% 0.097 342.2);
Tailwind
colors: {
custom: {
50: '#7f556f',
500: '#4a1239',
950: '#000000',
},
}SCSS
$custom: #4a1239; $custom-light: #7f556f; $custom-dark: #000000;
JSON
{
"hex": "#4a1239",
"rgb": {
"r": 74,
"g": 18,
"b": 57
},
"hsl": {
"h": 318.214,
"s": 60.87,
"l": 18.039
},
"oklch": {
"l": 0.29235,
"c": 0.0972,
"h": 342.2
},
"luminance": 0.02184
}Semantic roles & 50–950 ramp
primary
#4A1239
secondary
#35834D
accent
#E47444
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A