#942152#942152
#942152 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.155 H 0.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #942152 |
|---|---|
| RGB | rgb(148, 33, 82) |
| HSL | hsl(334, 64%, 35%) |
| HSV | hsv(334, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 44.6%, 42%) |
| CIE-LAB | lab(33.97, 50.42, -0.22) |
| CIE-LCH | lch(33.97, 50.42, 359.75°) |
| OKLab | oklab(45.11% 0.1548 0) |
| OKLCH | oklch(45.11% 0.155 0) |
| XYZ | xyz(14.2807, 7.9947, 8.7721) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.38
Mulberry
#920A4E
ΔE00 2.42
Reddish Purple
#910951
ΔE00 2.93
Dark Fuchsia
#9D0759
ΔE00 3.11
Violet Red
#A50055
ΔE00 3.32
Purple Red
#990147
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942152 #219463
analogous
#94218B #942152 #942A21
triadic
#942152 #529421 #215294
tetradic
#942152 #8B9421 #219463 #2A2194
square
#942152 #8B9421 #219463 #2A2194
split-complementary
#942152 #21942A #218B94
monochromatic
#300B1B #621636 #942152 #C62C6E #D9568E
Accessibility & contrast
On white
8.08
#942152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#942152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942152
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942152 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#A10B37
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942152; /* rgb */ color: rgb(148, 33, 82); /* oklch */ color: oklch(45.1% 0.155 0.0);
Tailwind
colors: {
custom: {
50: '#b86882',
500: '#942152',
950: '#000000',
},
}SCSS
$custom: #942152; $custom-light: #b86882; $custom-dark: #000000;
JSON
{
"hex": "#942152",
"rgb": {
"r": 148,
"g": 33,
"b": 82
},
"hsl": {
"h": 334.435,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.45109,
"c": 0.15483,
"h": 0
},
"luminance": 0.07993
}Semantic roles & 50–950 ramp
primary
#942152
secondary
#54BD90
accent
#E7A041
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C