#9A254A#9A254A
#9A254A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.154 H 6.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9A254A |
|---|---|
| RGB | rgb(154, 37, 74) |
| HSL | hsl(341, 61%, 37%) |
| HSV | hsv(341, 76%, 60%) |
| CMYK | cmyk(0%, 76%, 51.9%, 39.6%) |
| CIE-LAB | lab(35.38, 50.08, 7.14) |
| CIE-LCH | lch(35.38, 50.59, 8.12°) |
| OKLab | oklab(46.28% 0.1527 0.0185) |
| OKLCH | oklch(46.28% 0.154 6.9) |
| XYZ | xyz(15.2254, 8.6897, 7.3528) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.21
Purple Red
#990147
ΔE00 3.54
Purplish Red
#B0054B
ΔE00 4.09
Raspberry (survey)
#B00149
ΔE00 4.21
Cranberry
#9E003A
ΔE00 4.38
Violet Red
#A50055
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A254A #259A75
analogous
#9A2584 #9A254A #9A3B25
triadic
#9A254A #4A9A25 #254A9A
tetradic
#9A254A #849A25 #259A75 #3B259A
square
#9A254A #849A25 #259A75 #3B259A
split-complementary
#9A254A #259A3B #25849A
monochromatic
#370D1B #691932 #9A254A #CB3162 #D96087
Accessibility & contrast
On white
7.67
#9A254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9A254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A254A
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A254A | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42444B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#A80735
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9a254a; /* rgb */ color: rgb(154, 37, 74); /* oklch */ color: oklch(46.3% 0.154 6.9);
Tailwind
colors: {
custom: {
50: '#bd6a7c',
500: '#9a254a',
950: '#000000',
},
}SCSS
$custom: #9a254a; $custom-light: #bd6a7c; $custom-dark: #000000;
JSON
{
"hex": "#9a254a",
"rgb": {
"r": 154,
"g": 37,
"b": 74
},
"hsl": {
"h": 341.026,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.46281,
"c": 0.15386,
"h": 6.9
},
"luminance": 0.08688
}Semantic roles & 50–950 ramp
primary
#9A254A
secondary
#5DBE9F
accent
#E4B143
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B