#952540#952540
#952540 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.147 H 11.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #952540 |
|---|---|
| RGB | rgb(149, 37, 64) |
| HSL | hsl(346, 60%, 36%) |
| HSV | hsv(346, 75%, 58%) |
| CMYK | cmyk(0%, 75.2%, 57%, 41.6%) |
| CIE-LAB | lab(34.16, 47.75, 11.78) |
| CIE-LCH | lch(34.16, 49.18, 13.86°) |
| OKLab | oklab(45.12% 0.1444 0.0296) |
| OKLCH | oklch(45.12% 0.147 11.6) |
| XYZ | xyz(13.9827, 8.0848, 5.6737) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.15
Red Wine
#8C0034
ΔE00 4.40
Rouge
#AB1239
ΔE00 5.10
Purple Red
#990147
ΔE00 5.22
Raspberry (survey)
#B00149
ΔE00 5.29
Berry
#990F4B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952540 #25957A
analogous
#952578 #952540 #954225
triadic
#952540 #409525 #254095
tetradic
#952540 #789525 #25957A #422595
square
#952540 #789525 #25957A #422595
split-complementary
#952540 #259542 #257895
monochromatic
#330D16 #64192B #952540 #C63155 #D75E7B
Accessibility & contrast
On white
8.03
#952540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#952540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952540
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952540 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#A30430
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #952540; /* rgb */ color: rgb(149, 37, 64); /* oklch */ color: oklch(45.1% 0.147 11.6);
Tailwind
colors: {
custom: {
50: '#ba6974',
500: '#952540',
950: '#000000',
},
}SCSS
$custom: #952540; $custom-light: #ba6974; $custom-dark: #000000;
JSON
{
"hex": "#952540",
"rgb": {
"r": 149,
"g": 37,
"b": 64
},
"hsl": {
"h": 345.536,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.4512,
"c": 0.14742,
"h": 11.6
},
"luminance": 0.08083
}Semantic roles & 50–950 ramp
primary
#952540
secondary
#5ABCA4
accent
#E3BD44
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B