#951B48#951B48
#951B48 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.159 H 5.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #951B48 |
|---|---|
| RGB | rgb(149, 27, 72) |
| HSL | hsl(338, 69%, 35%) |
| HSV | hsv(338, 82%, 58%) |
| CMYK | cmyk(0%, 81.9%, 51.7%, 41.6%) |
| CIE-LAB | lab(33.23, 51.60, 5.26) |
| CIE-LCH | lch(33.23, 51.86, 5.82°) |
| OKLab | oklab(44.5% 0.1579 0.0138) |
| OKLCH | oklch(44.5% 0.159 5) |
| XYZ | xyz(13.9573, 7.6433, 6.8700) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.59
Purple Red
#990147
ΔE00 1.85
Mulberry
#920A4E
ΔE00 3.64
Violet Red
#A50055
ΔE00 4.15
Reddish Purple
#910951
ΔE00 4.64
Cranberry
#9E003A
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951B48 #1B9568
analogous
#951B85 #951B48 #952B1B
triadic
#951B48 #48951B #1B4895
tetradic
#951B48 #85951B #1B9568 #2B1B95
square
#951B48 #85951B #1B9568 #2B1B95
split-complementary
#951B48 #1B952B #1B8595
monochromatic
#2D0816 #61122F #951B48 #C92461 #DF4C82
Accessibility & contrast
On white
8.31
#951B48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#951B48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951B48
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951B48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951B48 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#5B5745
Tritanopia (blue-blind)
#A3002F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #951b48; /* rgb */ color: rgb(149, 27, 72); /* oklch */ color: oklch(44.5% 0.159 5.0);
Tailwind
colors: {
custom: {
50: '#ba667a',
500: '#951b48',
950: '#000000',
},
}SCSS
$custom: #951b48; $custom-light: #ba667a; $custom-dark: #000000;
JSON
{
"hex": "#951b48",
"rgb": {
"r": 149,
"g": 27,
"b": 72
},
"hsl": {
"h": 337.869,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.44501,
"c": 0.15851,
"h": 5
},
"luminance": 0.07641
}Semantic roles & 50–950 ramp
primary
#951B48
secondary
#4BC195
accent
#ECAB3C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B