#9D234F#9D234F
#9D234F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.160 H 4.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9D234F |
|---|---|
| RGB | rgb(157, 35, 79) |
| HSL | hsl(338, 64%, 38%) |
| HSV | hsv(338, 78%, 62%) |
| CMYK | cmyk(0%, 77.7%, 49.7%, 38.4%) |
| CIE-LAB | lab(35.86, 52.06, 4.68) |
| CIE-LCH | lch(35.86, 52.27, 5.13°) |
| OKLab | oklab(46.79% 0.1593 0.0124) |
| OKLCH | oklch(46.79% 0.16 4.5) |
| XYZ | xyz(15.9183, 8.9369, 8.2824) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.54
Purple Red
#990147
ΔE00 3.23
Violet Red
#A50055
ΔE00 3.50
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.26
Mulberry
#920A4E
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D234F #239D71
analogous
#9D238C #9D234F #9D3423
triadic
#9D234F #4F9D23 #234F9D
tetradic
#9D234F #8C9D23 #239D71 #34239D
square
#9D234F #8C9D23 #239D71 #34239D
split-complementary
#9D234F #239D34 #238C9D
monochromatic
#390D1D #6B1836 #9D234F #CF2E68 #DB5F8C
Accessibility & contrast
On white
7.53
#9D234F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9D234F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D234F
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D234F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D234F | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AB0236
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9d234f; /* rgb */ color: rgb(157, 35, 79); /* oklch */ color: oklch(46.8% 0.160 4.5);
Tailwind
colors: {
custom: {
50: '#c06a80',
500: '#9d234f',
950: '#000000',
},
}SCSS
$custom: #9d234f; $custom-light: #c06a80; $custom-dark: #000000;
JSON
{
"hex": "#9d234f",
"rgb": {
"r": 157,
"g": 35,
"b": 79
},
"hsl": {
"h": 338.361,
"s": 63.542,
"l": 37.647
},
"oklch": {
"l": 0.46787,
"c": 0.15981,
"h": 4.5
},
"luminance": 0.08935
}Semantic roles & 50–950 ramp
primary
#9D234F
secondary
#5CC09C
accent
#E7AB41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C