#8A245F#8A245F
#8A245F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.149 H 349.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A245F |
|---|---|
| RGB | rgb(138, 36, 95) |
| HSL | hsl(325, 59%, 34%) |
| HSV | hsv(325, 74%, 54%) |
| CMYK | cmyk(0%, 73.9%, 31.2%, 45.9%) |
| CIE-LAB | lab(32.90, 48.00, -10.43) |
| CIE-LCH | lch(32.90, 49.12, 347.74°) |
| OKLab | oklab(44.13% 0.1464 -0.0273) |
| OKLCH | oklch(44.13% 0.149 349.4) |
| XYZ | xyz(13.1783, 7.4927, 11.5765) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 4.07
Red Violet
#9E0168
ΔE00 4.15
Reddish Purple
#910951
ΔE00 4.33
Dark Fuchsia
#9D0759
ΔE00 4.65
Deep Magenta
#A0025C
ΔE00 4.78
Mulberry
#920A4E
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A245F #248A4F
analogous
#82248A #8A245F #8A242C
triadic
#8A245F #5F8A24 #245F8A
tetradic
#8A245F #8A8224 #248A4F #242C8A
square
#8A245F #8A8224 #248A4F #242C8A
split-complementary
#8A245F #2C8A24 #248A82
monochromatic
#290B1C #59173E #8A245F #BB3180 #D3569E
Accessibility & contrast
On white
8.41
#8A245F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8A245F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A245F
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A245F | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#51545D
Tritanopia (blue-blind)
#941F3E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a245f; /* rgb */ color: rgb(138, 36, 95); /* oklch */ color: oklch(44.1% 0.149 349.4);
Tailwind
colors: {
custom: {
50: '#b0688c',
500: '#8a245f',
950: '#000000',
},
}SCSS
$custom: #8a245f; $custom-light: #b0688c; $custom-dark: #000000;
JSON
{
"hex": "#8a245f",
"rgb": {
"r": 138,
"g": 36,
"b": 95
},
"hsl": {
"h": 325.294,
"s": 58.621,
"l": 34.118
},
"oklch": {
"l": 0.44126,
"c": 0.14893,
"h": 349.4
},
"luminance": 0.07491
}Semantic roles & 50–950 ramp
primary
#8A245F
secondary
#53B77D
accent
#E28846
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D