#8A2A6B#8A2A6B
#8A2A6B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.148 H 343.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A6B |
|---|---|
| RGB | rgb(138, 42, 107) |
| HSL | hsl(319, 53%, 35%) |
| HSV | hsv(319, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 22.5%, 45.9%) |
| CIE-LAB | lab(34.24, 47.29, -16.08) |
| CIE-LCH | lch(34.24, 49.95, 341.22°) |
| OKLab | oklab(45.26% 0.1421 -0.043) |
| OKLCH | oklch(45.26% 0.148 343.2) |
| XYZ | xyz(13.9635, 8.1221, 14.7394) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.68
Bruise
#7E4071
ΔE00 5.37
Dark Magenta
#960056
ΔE00 6.51
Grape
#6C3461
ΔE00 6.53
Deep Magenta
#A0025C
ΔE00 6.70
Dark Fuchsia
#9D0759
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A6B #2A8A49
analogous
#792A8A #8A2A6B #8A2A3B
triadic
#8A2A6B #6B8A2A #2A6B8A
tetradic
#8A2A6B #8A792A #2A8A49 #2A3B8A
square
#8A2A6B #8A792A #2A8A49 #2A3B8A
split-complementary
#8A2A6B #3B8A2A #2A8A79
monochromatic
#2C0D22 #5B1C47 #8A2A6B #B9388F #CF60AB
Accessibility & contrast
On white
8.00
#8A2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8A2A6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A6B
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A6B | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33466D
Deuteranopia (green-blind)
#505669
Tritanopia (blue-blind)
#932A46
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2a6b; /* rgb */ color: rgb(138, 42, 107); /* oklch */ color: oklch(45.3% 0.148 343.2);
Tailwind
colors: {
custom: {
50: '#af6b95',
500: '#8a2a6b',
950: '#000000',
},
}SCSS
$custom: #8a2a6b; $custom-light: #af6b95; $custom-dark: #000000;
JSON
{
"hex": "#8a2a6b",
"rgb": {
"r": 138,
"g": 42,
"b": 107
},
"hsl": {
"h": 319.375,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.45263,
"c": 0.1484,
"h": 343.2
},
"luminance": 0.08121
}Semantic roles & 50–950 ramp
primary
#8A2A6B
secondary
#5BB478
accent
#DD7A4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E