#942256#942256
#942256 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.155 H 357.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #942256 |
|---|---|
| RGB | rgb(148, 34, 86) |
| HSL | hsl(333, 63%, 36%) |
| HSV | hsv(333, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 41.9%, 42%) |
| CIE-LAB | lab(34.22, 50.49, -2.45) |
| CIE-LCH | lch(34.22, 50.55, 357.22°) |
| OKLab | oklab(45.33% 0.1551 -0.0058) |
| OKLCH | oklch(45.33% 0.155 357.9) |
| XYZ | xyz(14.4655, 8.1137, 9.6066) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.58
Mulberry
#920A4E
ΔE00 2.61
Reddish Purple
#910951
ΔE00 2.69
Dark Magenta
#960056
ΔE00 3.02
Deep Magenta
#A0025C
ΔE00 3.15
Berry
#990F4B
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942256 #229460
analogous
#94228F #942256 #942722
triadic
#942256 #569422 #225694
tetradic
#942256 #8F9422 #229460 #272294
square
#942256 #8F9422 #229460 #272294
split-complementary
#942256 #229427 #228F94
monochromatic
#300B1C #621739 #942256 #C62D73 #D95893
Accessibility & contrast
On white
8.01
#942256 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#942256 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942256
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942256 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4357
Deuteranopia (green-blind)
#5A5853
Tritanopia (blue-blind)
#A01139
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942256; /* rgb */ color: rgb(148, 34, 86); /* oklch */ color: oklch(45.3% 0.155 357.9);
Tailwind
colors: {
custom: {
50: '#b86985',
500: '#942256',
950: '#000000',
},
}SCSS
$custom: #942256; $custom-light: #b86985; $custom-dark: #000000;
JSON
{
"hex": "#942256",
"rgb": {
"r": 148,
"g": 34,
"b": 86
},
"hsl": {
"h": 332.632,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.45332,
"c": 0.15524,
"h": 357.9
},
"luminance": 0.08112
}Semantic roles & 50–950 ramp
primary
#942256
secondary
#55BD8D
accent
#E69B42
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C