#9E2F5F#9E2F5F
#9E2F5F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.152 H 357.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F5F |
|---|---|
| RGB | rgb(158, 47, 95) |
| HSL | hsl(334, 54%, 40%) |
| HSV | hsv(334, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 39.9%, 38%) |
| CIE-LAB | lab(38.08, 49.64, -2.32) |
| CIE-LCH | lch(38.08, 49.69, 357.32°) |
| OKLab | oklab(48.61% 0.1521 -0.0055) |
| OKLCH | oklch(48.61% 0.152 357.9) |
| XYZ | xyz(17.1838, 10.1304, 11.8747) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.27
Dark Fuchsia
#9D0759
ΔE00 4.38
Deep Magenta
#A0025C
ΔE00 4.48
Berry
#990F4B
ΔE00 5.22
Dark Magenta
#960056
ΔE00 5.61
Mulberry
#920A4E
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F5F #2F9E6E
analogous
#9E2F96 #9E2F5F #9E372F
triadic
#9E2F5F #5F9E2F #2F5F9E
tetradic
#9E2F5F #969E2F #2F9E6E #372F9E
square
#9E2F5F #969E2F #2F9E6E #372F9E
split-complementary
#9E2F5F #2F9E37 #2F969E
monochromatic
#401326 #6F2143 #9E2F5F #C7437C #D5729D
Accessibility & contrast
On white
6.94
#9E2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#9E2F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F5F
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F5F | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#63615C
Tritanopia (blue-blind)
#AB2343
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9e2f5f; /* rgb */ color: rgb(158, 47, 95); /* oklch */ color: oklch(48.6% 0.152 357.9);
Tailwind
colors: {
custom: {
50: '#bf708c',
500: '#9e2f5f',
950: '#000000',
},
}SCSS
$custom: #9e2f5f; $custom-light: #bf708c; $custom-dark: #000000;
JSON
{
"hex": "#9e2f5f",
"rgb": {
"r": 158,
"g": 47,
"b": 95
},
"hsl": {
"h": 334.054,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.48611,
"c": 0.15221,
"h": 357.9
},
"luminance": 0.10128
}Semantic roles & 50–950 ramp
primary
#9E2F5F
secondary
#6CBD9A
accent
#DE9E4A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D