#9E315B#9E315B
#9E315B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.148 H 0.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9E315B |
|---|---|
| RGB | rgb(158, 49, 91) |
| HSL | hsl(337, 53%, 41%) |
| HSV | hsv(337, 69%, 62%) |
| CMYK | cmyk(0%, 69%, 42.4%, 38%) |
| CIE-LAB | lab(38.24, 48.41, 0.46) |
| CIE-LCH | lch(38.24, 48.41, 0.54°) |
| OKLab | oklab(48.69% 0.1482 0.0018) |
| OKLCH | oklch(48.69% 0.148 0.7) |
| XYZ | xyz(17.0884, 10.2231, 10.9689) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.48
Berry
#990F4B
ΔE00 4.91
Dark Fuchsia
#9D0759
ΔE00 5.16
Light Burgundy
#A8415B
ΔE00 5.34
Deep Magenta
#A0025C
ΔE00 5.39
Purple Red
#990147
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E315B #319E74
analogous
#9E3191 #9E315B #9E3E31
triadic
#9E315B #5B9E31 #315B9E
tetradic
#9E315B #919E31 #319E74 #3E319E
square
#9E315B #919E31 #319E74 #3E319E
split-complementary
#9E315B #319E3E #31919E
monochromatic
#411425 #6F2340 #9E315B #C64677 #D4759A
Accessibility & contrast
On white
6.90
#9E315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#9E315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E315B
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E315B | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5C
Deuteranopia (green-blind)
#646258
Tritanopia (blue-blind)
#AB2342
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9e315b; /* rgb */ color: rgb(158, 49, 91); /* oklch */ color: oklch(48.7% 0.148 0.7);
Tailwind
colors: {
custom: {
50: '#bf7189',
500: '#9e315b',
950: '#000000',
},
}SCSS
$custom: #9e315b; $custom-light: #bf7189; $custom-dark: #000000;
JSON
{
"hex": "#9e315b",
"rgb": {
"r": 158,
"g": 49,
"b": 91
},
"hsl": {
"h": 336.881,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.48692,
"c": 0.14821,
"h": 0.7
},
"luminance": 0.10221
}Semantic roles & 50–950 ramp
primary
#9E315B
secondary
#6EBC9E
accent
#DCA44C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C