#8A236A#8A236A
#8A236A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.157 H 343.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A236A |
|---|---|
| RGB | rgb(138, 35, 106) |
| HSL | hsl(319, 60%, 34%) |
| HSV | hsv(319, 75%, 54%) |
| CMYK | cmyk(0%, 74.6%, 23.2%, 45.9%) |
| CIE-LAB | lab(33.24, 49.83, -16.98) |
| CIE-LCH | lch(33.24, 52.64, 341.18°) |
| OKLab | oklab(44.52% 0.15 -0.0454) |
| OKLCH | oklch(44.52% 0.157 343.2) |
| XYZ | xyz(13.6843, 7.6474, 14.3883) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.25
Dark Magenta
#960056
ΔE00 6.18
Velvet
#750851
ΔE00 6.26
Bruise
#7E4071
ΔE00 6.32
Deep Magenta
#A0025C
ΔE00 6.54
Rich Purple
#720058
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A236A #238A43
analogous
#77238A #8A236A #8A2337
triadic
#8A236A #6A8A23 #236A8A
tetradic
#8A236A #8A7723 #238A43 #23378A
square
#8A236A #8A7723 #238A43 #23378A
split-complementary
#8A236A #378A23 #238A77
monochromatic
#280A1F #591745 #8A236A #BB2F8F #D454AC
Accessibility & contrast
On white
8.30
#8A236A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8A236A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A236A
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A236A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A236A | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E436C
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#932343
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8a236a; /* rgb */ color: rgb(138, 35, 106); /* oklch */ color: oklch(44.5% 0.157 343.2);
Tailwind
colors: {
custom: {
50: '#b06894',
500: '#8a236a',
950: '#000000',
},
}SCSS
$custom: #8a236a; $custom-light: #b06894; $custom-dark: #000000;
JSON
{
"hex": "#8a236a",
"rgb": {
"r": 138,
"g": 35,
"b": 106
},
"hsl": {
"h": 318.641,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.44521,
"c": 0.15677,
"h": 343.2
},
"luminance": 0.07646
}Semantic roles & 50–950 ramp
primary
#8A236A
secondary
#51B771
accent
#E37645
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E