#842256#842256
#842256 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.142 H 352.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #842256 |
|---|---|
| RGB | rgb(132, 34, 86) |
| HSL | hsl(328, 59%, 33%) |
| HSV | hsv(328, 74%, 52%) |
| CMYK | cmyk(0%, 74.2%, 34.8%, 48.2%) |
| CIE-LAB | lab(31.17, 45.90, -7.32) |
| CIE-LCH | lch(31.17, 46.48, 350.94°) |
| OKLab | oklab(42.53% 0.1405 -0.0188) |
| OKLCH | oklch(42.53% 0.142 352.4) |
| XYZ | xyz(11.7681, 6.7228, 9.4802) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.55
Dark Magenta
#960056
ΔE00 3.95
Red Purple
#820747
ΔE00 3.96
Mulberry
#920A4E
ΔE00 4.23
Dark Fuchsia
#9D0759
ΔE00 4.88
Velvet
#750851
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842256 #228450
analogous
#812284 #842256 #842225
triadic
#842256 #568422 #225684
tetradic
#842256 #848122 #228450 #222584
square
#842256 #848122 #228450 #222584
split-complementary
#842256 #258422 #228481
monochromatic
#230917 #531536 #842256 #B52F76 #D24F94
Accessibility & contrast
On white
8.96
#842256 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#842256 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842256
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842256 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#8E1A39
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842256; /* rgb */ color: rgb(132, 34, 86); /* oklch */ color: oklch(42.5% 0.142 352.4);
Tailwind
colors: {
custom: {
50: '#ac6685',
500: '#842256',
950: '#000000',
},
}SCSS
$custom: #842256; $custom-light: #ac6685; $custom-dark: #000000;
JSON
{
"hex": "#842256",
"rgb": {
"r": 132,
"g": 34,
"b": 86
},
"hsl": {
"h": 328.163,
"s": 59.036,
"l": 32.549
},
"oklch": {
"l": 0.42532,
"c": 0.14175,
"h": 352.4
},
"luminance": 0.06721
}Semantic roles & 50–950 ramp
primary
#842256
secondary
#4DB57E
accent
#E28F46
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C