#9D254C#9D254C
#9D254C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.157 H 6.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9D254C |
|---|---|
| RGB | rgb(157, 37, 76) |
| HSL | hsl(341, 62%, 38%) |
| HSV | hsv(341, 76%, 62%) |
| CMYK | cmyk(0%, 76.4%, 51.6%, 38.4%) |
| CIE-LAB | lab(36.01, 51.14, 6.83) |
| CIE-LCH | lch(36.01, 51.60, 7.60°) |
| OKLab | oklab(46.87% 0.1561 0.0178) |
| OKLCH | oklch(46.87% 0.157 6.5) |
| XYZ | xyz(15.8721, 9.0152, 7.7404) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.27
Purplish Red
#B0054B
ΔE00 3.65
Purple Red
#990147
ΔE00 3.68
Raspberry (survey)
#B00149
ΔE00 3.82
Violet Red
#A50055
ΔE00 4.52
Cranberry
#9E003A
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D254C #259D76
analogous
#9D2588 #9D254C #9D3A25
triadic
#9D254C #4C9D25 #254C9D
tetradic
#9D254C #889D25 #259D76 #3A259D
square
#9D254C #889D25 #259D76 #3A259D
split-complementary
#9D254C #259D3A #25889D
monochromatic
#3A0E1C #6B1934 #9D254C #CE3164 #DA6289
Accessibility & contrast
On white
7.49
#9D254C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9D254C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D254C
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D254C | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43454D
Deuteranopia (green-blind)
#625D49
Tritanopia (blue-blind)
#AB0536
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9d254c; /* rgb */ color: rgb(157, 37, 76); /* oklch */ color: oklch(46.9% 0.157 6.5);
Tailwind
colors: {
custom: {
50: '#c06b7d',
500: '#9d254c',
950: '#000000',
},
}SCSS
$custom: #9d254c; $custom-light: #c06b7d; $custom-dark: #000000;
JSON
{
"hex": "#9d254c",
"rgb": {
"r": 157,
"g": 37,
"b": 76
},
"hsl": {
"h": 340.5,
"s": 61.856,
"l": 38.039
},
"oklch": {
"l": 0.46872,
"c": 0.15708,
"h": 6.5
},
"luminance": 0.09013
}Semantic roles & 50–950 ramp
primary
#9D254C
secondary
#5EBFA0
accent
#E5B043
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B