#942470#942470
#942470 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.166 H 344.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #942470 |
|---|---|
| RGB | rgb(148, 36, 112) |
| HSL | hsl(319, 61%, 36%) |
| HSV | hsv(319, 76%, 58%) |
| CMYK | cmyk(0%, 75.7%, 24.3%, 42%) |
| CIE-LAB | lab(35.46, 52.94, -17.22) |
| CIE-LCH | lch(35.46, 55.67, 341.99°) |
| OKLab | oklab(46.56% 0.1599 -0.046) |
| OKLCH | oklch(46.56% 0.166 344) |
| XYZ | xyz(15.7689, 8.7292, 16.1805) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.37
Deep Magenta
#A0025C
ΔE00 5.96
Dark Magenta
#960056
ΔE00 6.27
Dark Fuchsia
#9D0759
ΔE00 6.31
Warm Purple
#952E8F
ΔE00 6.57
Bruise
#7E4071
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942470 #249448
analogous
#802494 #942470 #942438
triadic
#942470 #709424 #247094
tetradic
#942470 #948024 #249448 #243894
square
#942470 #948024 #249448 #243894
split-complementary
#942470 #389424 #249480
monochromatic
#320C25 #63184B #942470 #C53095 #D75BAF
Accessibility & contrast
On white
7.65
#942470 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#942470 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942470
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942470 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942470 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314772
Deuteranopia (green-blind)
#535A6D
Tritanopia (blue-blind)
#9E2347
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942470; /* rgb */ color: rgb(148, 36, 112); /* oklch */ color: oklch(46.6% 0.166 344.0);
Tailwind
colors: {
custom: {
50: '#b76a99',
500: '#942470',
950: '#000000',
},
}SCSS
$custom: #942470; $custom-light: #b76a99; $custom-dark: #000000;
JSON
{
"hex": "#942470",
"rgb": {
"r": 148,
"g": 36,
"b": 112
},
"hsl": {
"h": 319.286,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.46564,
"c": 0.16635,
"h": 344
},
"luminance": 0.08728
}Semantic roles & 50–950 ramp
primary
#942470
secondary
#58BC78
accent
#E47744
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E