#8A2248#8A2248
#8A2248 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 3.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2248 |
|---|---|
| RGB | rgb(138, 34, 72) |
| HSL | hsl(338, 60%, 34%) |
| HSV | hsv(338, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 47.8%, 45.9%) |
| CIE-LAB | lab(31.85, 46.15, 2.99) |
| CIE-LCH | lch(31.85, 46.25, 3.70°) |
| OKLab | oklab(43.09% 0.1413 0.0081) |
| OKLCH | oklch(43.09% 0.142 3.3) |
| XYZ | xyz(12.2239, 7.0168, 6.8403) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.07
Purple Red
#990147
ΔE00 3.45
Mulberry
#920A4E
ΔE00 3.46
Reddish Purple
#910951
ΔE00 4.23
Wine (survey)
#80013F
ΔE00 4.34
Red Purple
#820747
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2248 #228A64
analogous
#8A227C #8A2248 #8A3022
triadic
#8A2248 #488A22 #22488A
tetradic
#8A2248 #7C8A22 #228A64 #30228A
square
#8A2248 #7C8A22 #228A64 #30228A
split-complementary
#8A2248 #228A30 #227C8A
monochromatic
#280A15 #59162E #8A2248 #BB2E62 #D45282
Accessibility & contrast
On white
8.74
#8A2248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A2248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2248
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2248 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#565246
Tritanopia (blue-blind)
#960E32
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2248; /* rgb */ color: rgb(138, 34, 72); /* oklch */ color: oklch(43.1% 0.142 3.3);
Tailwind
colors: {
custom: {
50: '#b1677a',
500: '#8a2248',
950: '#000000',
},
}SCSS
$custom: #8a2248; $custom-light: #b1677a; $custom-dark: #000000;
JSON
{
"hex": "#8a2248",
"rgb": {
"r": 138,
"g": 34,
"b": 72
},
"hsl": {
"h": 338.077,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.43088,
"c": 0.14154,
"h": 3.3
},
"luminance": 0.07015
}Semantic roles & 50–950 ramp
primary
#8A2248
secondary
#50B892
accent
#E4A944
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B