#9C254F#9C254F
#9C254F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.157 H 4.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9C254F |
|---|---|
| RGB | rgb(156, 37, 79) |
| HSL | hsl(339, 62%, 38%) |
| HSV | hsv(339, 76%, 61%) |
| CMYK | cmyk(0%, 76.3%, 49.4%, 38.8%) |
| CIE-LAB | lab(35.90, 51.11, 4.71) |
| CIE-LCH | lch(35.90, 51.33, 5.26°) |
| OKLab | oklab(46.78% 0.1564 0.0125) |
| OKLCH | oklch(46.78% 0.157 4.6) |
| XYZ | xyz(15.7845, 8.9577, 8.2934) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.71
Purple Red
#990147
ΔE00 3.40
Violet Red
#A50055
ΔE00 3.75
Purplish Red
#B0054B
ΔE00 4.16
Raspberry (survey)
#B00149
ΔE00 4.42
Mulberry
#920A4E
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C254F #259C72
analogous
#9C258A #9C254F #9C3725
triadic
#9C254F #4F9C25 #254F9C
tetradic
#9C254F #8A9C25 #259C72 #37259C
square
#9C254F #8A9C25 #259C72 #37259C
split-complementary
#9C254F #259C37 #258A9C
monochromatic
#390E1D #6B1936 #9C254F #CD3168 #DA628C
Accessibility & contrast
On white
7.52
#9C254F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9C254F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C254F
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C254F | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424550
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AA0937
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9c254f; /* rgb */ color: rgb(156, 37, 79); /* oklch */ color: oklch(46.8% 0.157 4.6);
Tailwind
colors: {
custom: {
50: '#bf6b80',
500: '#9c254f',
950: '#000000',
},
}SCSS
$custom: #9c254f; $custom-light: #bf6b80; $custom-dark: #000000;
JSON
{
"hex": "#9c254f",
"rgb": {
"r": 156,
"g": 37,
"b": 79
},
"hsl": {
"h": 338.824,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.46782,
"c": 0.15686,
"h": 4.6
},
"luminance": 0.08956
}Semantic roles & 50–950 ramp
primary
#9C254F
secondary
#5EBF9D
accent
#E5AC43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C