#9A254B#9A254B
#9A254B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.154 H 6.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9A254B |
|---|---|
| RGB | rgb(154, 37, 75) |
| HSL | hsl(341, 61%, 37%) |
| HSV | hsv(341, 76%, 60%) |
| CMYK | cmyk(0%, 76%, 51.3%, 39.6%) |
| CIE-LAB | lab(35.41, 50.17, 6.53) |
| CIE-LCH | lch(35.41, 50.59, 7.42°) |
| OKLab | oklab(46.31% 0.1531 0.017) |
| OKLCH | oklch(46.31% 0.154 6.3) |
| XYZ | xyz(15.2593, 8.7033, 7.5316) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.01
Purple Red
#990147
ΔE00 3.42
Purplish Red
#B0054B
ΔE00 4.14
Raspberry (survey)
#B00149
ΔE00 4.29
Violet Red
#A50055
ΔE00 4.59
Cranberry
#9E003A
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A254B #259A74
analogous
#9A2586 #9A254B #9A3A25
triadic
#9A254B #4B9A25 #254B9A
tetradic
#9A254B #869A25 #259A74 #3A259A
square
#9A254B #869A25 #259A74 #3A259A
split-complementary
#9A254B #259A3A #25869A
monochromatic
#370D1B #691933 #9A254B #CB3163 #D96088
Accessibility & contrast
On white
7.66
#9A254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9A254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A254B
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A254B | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42444C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#A80735
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9a254b; /* rgb */ color: rgb(154, 37, 75); /* oklch */ color: oklch(46.3% 0.154 6.3);
Tailwind
colors: {
custom: {
50: '#bd6a7d',
500: '#9a254b',
950: '#000000',
},
}SCSS
$custom: #9a254b; $custom-light: #bd6a7d; $custom-dark: #000000;
JSON
{
"hex": "#9a254b",
"rgb": {
"r": 154,
"g": 37,
"b": 75
},
"hsl": {
"h": 340.513,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.4631,
"c": 0.15406,
"h": 6.3
},
"luminance": 0.08701
}Semantic roles & 50–950 ramp
primary
#9A254B
secondary
#5DBE9E
accent
#E4B043
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B