#942452#942452
#942452 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.152 H 0.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #942452 |
|---|---|
| RGB | rgb(148, 36, 82) |
| HSL | hsl(335, 61%, 36%) |
| HSV | hsv(335, 76%, 58%) |
| CMYK | cmyk(0%, 75.7%, 44.6%, 42%) |
| CIE-LAB | lab(34.33, 49.40, 0.30) |
| CIE-LCH | lch(34.33, 49.40, 0.35°) |
| OKLab | oklab(45.37% 0.1516 0.0014) |
| OKLCH | oklch(45.37% 0.152 0.5) |
| XYZ | xyz(14.3677, 8.1687, 8.8011) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.52
Mulberry
#920A4E
ΔE00 2.89
Reddish Purple
#910951
ΔE00 3.42
Purple Red
#990147
ΔE00 3.52
Dark Fuchsia
#9D0759
ΔE00 3.52
Violet Red
#A50055
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942452 #249466
analogous
#94248A #942452 #942E24
triadic
#942452 #529424 #245294
tetradic
#942452 #8A9424 #249466 #2E2494
square
#942452 #8A9424 #249466 #2E2494
split-complementary
#942452 #24942E #248A94
monochromatic
#320C1B #631837 #942452 #C5306D #D75B8E
Accessibility & contrast
On white
7.97
#942452 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#942452 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942452
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942452 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942452 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#5B594F
Tritanopia (blue-blind)
#A11138
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #942452; /* rgb */ color: rgb(148, 36, 82); /* oklch */ color: oklch(45.4% 0.152 0.5);
Tailwind
colors: {
custom: {
50: '#b86982',
500: '#942452',
950: '#000000',
},
}SCSS
$custom: #942452; $custom-light: #b86982; $custom-dark: #000000;
JSON
{
"hex": "#942452",
"rgb": {
"r": 148,
"g": 36,
"b": 82
},
"hsl": {
"h": 335.357,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.45373,
"c": 0.1516,
"h": 0.5
},
"luminance": 0.08167
}Semantic roles & 50–950 ramp
primary
#942452
secondary
#58BC93
accent
#E4A244
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C