#804271#804271
#804271 is a mid, moderate pink. Relative luminance 0.097; OKLCH L 47.3% C 0.106 H 337.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #804271 |
|---|---|
| RGB | rgb(128, 66, 113) |
| HSL | hsl(315, 32%, 38%) |
| HSV | hsv(315, 48%, 50%) |
| CMYK | cmyk(0%, 48.4%, 11.7%, 49.8%) |
| CIE-LAB | lab(37.26, 33.42, -15.36) |
| CIE-LCH | lch(37.26, 36.78, 335.32°) |
| OKLab | oklab(47.27% 0.0972 -0.0413) |
| OKLCH | oklch(47.27% 0.106 337) |
| XYZ | xyz(13.8310, 9.6788, 16.7593) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 0.83
Light Eggplant
#894585
ΔE00 4.56
Grape
#6C3461
ΔE00 5.43
Dirty Purple
#734A65
ΔE00 5.81
Dull Purple
#84597E
ΔE00 6.97
Purplish
#94568C
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804271 #428051
analogous
#704280 #804271 #804252
triadic
#804271 #718042 #427180
tetradic
#804271 #807042 #428051 #425280
square
#804271 #807042 #428051 #425280
split-complementary
#804271 #528042 #428070
monochromatic
#2F182A #582D4D #804271 #A85795 #BD7FAE
Accessibility & contrast
On white
7.15
#804271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#804271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #804271
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804271 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#864454
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #804271; /* rgb */ color: rgb(128, 66, 113); /* oklch */ color: oklch(47.3% 0.106 337.0);
Tailwind
colors: {
custom: {
50: '#a6789a',
500: '#804271',
950: '#000000',
},
}SCSS
$custom: #804271; $custom-light: #a6789a; $custom-dark: #000000;
JSON
{
"hex": "#804271",
"rgb": {
"r": 128,
"g": 66,
"b": 113
},
"hsl": {
"h": 314.516,
"s": 31.959,
"l": 38.039
},
"oklch": {
"l": 0.47265,
"c": 0.10562,
"h": 337
},
"luminance": 0.09678
}Semantic roles & 50–950 ramp
primary
#804271
secondary
#76A882
accent
#C87960
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E