#942277#942277
#942277 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 340.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #942277 |
|---|---|
| RGB | rgb(148, 34, 119) |
| HSL | hsl(315, 63%, 36%) |
| HSV | hsv(315, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 19.6%, 42%) |
| CIE-LAB | lab(35.54, 54.56, -21.49) |
| CIE-LCH | lch(35.54, 58.64, 338.50°) |
| OKLab | oklab(46.73% 0.1631 -0.058) |
| OKLCH | oklch(46.73% 0.173 340.4) |
| XYZ | xyz(16.1150, 8.7735, 18.2939) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.48
Warm Purple
#952E8F
ΔE00 5.01
Barney Purple
#A00498
ΔE00 6.46
Darkmagenta
#8B008B
ΔE00 6.75
Bruise
#7E4071
ΔE00 6.93
Light Eggplant
#894585
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942277 #22943F
analogous
#782294 #942277 #94223E
triadic
#942277 #779422 #227794
tetradic
#942277 #947822 #22943F #223E94
square
#942277 #947822 #22943F #223E94
split-complementary
#942277 #3E9422 #229478
monochromatic
#300B27 #62174F #942277 #C62D9F #D958B8
Accessibility & contrast
On white
7.62
#942277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#942277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942277
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942277 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#9D254A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942277; /* rgb */ color: rgb(148, 34, 119); /* oklch */ color: oklch(46.7% 0.173 340.4);
Tailwind
colors: {
custom: {
50: '#b76a9e',
500: '#942277',
950: '#000000',
},
}SCSS
$custom: #942277; $custom-light: #b76a9e; $custom-dark: #000000;
JSON
{
"hex": "#942277",
"rgb": {
"r": 148,
"g": 34,
"b": 119
},
"hsl": {
"h": 315.263,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.46731,
"c": 0.17307,
"h": 340.4
},
"luminance": 0.08772
}Semantic roles & 50–950 ramp
primary
#942277
secondary
#55BD6F
accent
#E66C42
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E