#8A2148#8A2148
#8A2148 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.143 H 3.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2148 |
|---|---|
| RGB | rgb(138, 33, 72) |
| HSL | hsl(338, 61%, 34%) |
| HSV | hsv(338, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 47.8%, 45.9%) |
| CIE-LAB | lab(31.72, 46.51, 2.80) |
| CIE-LCH | lch(31.72, 46.60, 3.45°) |
| OKLab | oklab(42.99% 0.1425 0.0077) |
| OKLCH | oklch(42.99% 0.143 3.1) |
| XYZ | xyz(12.1958, 6.9605, 6.8309) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.01
Mulberry
#920A4E
ΔE00 3.30
Purple Red
#990147
ΔE00 3.37
Reddish Purple
#910951
ΔE00 4.07
Wine (survey)
#80013F
ΔE00 4.19
Red Purple
#820747
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2148 #218A63
analogous
#8A217C #8A2148 #8A2E21
triadic
#8A2148 #488A21 #21488A
tetradic
#8A2148 #7C8A21 #218A63 #2E218A
square
#8A2148 #7C8A21 #218A63 #2E218A
split-complementary
#8A2148 #218A2E #217C8A
monochromatic
#270914 #59152E #8A2148 #BB2D62 #D55082
Accessibility & contrast
On white
8.78
#8A2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2148
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2148 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393E49
Deuteranopia (green-blind)
#555246
Tritanopia (blue-blind)
#960C32
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2148; /* rgb */ color: rgb(138, 33, 72); /* oklch */ color: oklch(43.0% 0.143 3.1);
Tailwind
colors: {
custom: {
50: '#b1667a',
500: '#8a2148',
950: '#000000',
},
}SCSS
$custom: #8a2148; $custom-light: #b1667a; $custom-dark: #000000;
JSON
{
"hex": "#8a2148",
"rgb": {
"r": 138,
"g": 33,
"b": 72
},
"hsl": {
"h": 337.714,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42994,
"c": 0.14268,
"h": 3.1
},
"luminance": 0.06959
}Semantic roles & 50–950 ramp
primary
#8A2148
secondary
#4EB991
accent
#E5A943
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B