#7F224D#7F224D
#7F224D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.133 H 356.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7F224D |
|---|---|
| RGB | rgb(127, 34, 77) |
| HSL | hsl(332, 58%, 32%) |
| HSV | hsv(332, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 39.4%, 50.2%) |
| CIE-LAB | lab(29.89, 43.34, -3.41) |
| CIE-LCH | lch(29.89, 43.47, 355.50°) |
| OKLab | oklab(41.31% 0.1329 -0.0084) |
| OKLCH | oklch(41.31% 0.133 356.4) |
| XYZ | xyz(10.6647, 6.1932, 7.6535) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.98
Reddish Purple
#910951
ΔE00 3.85
Mulberry
#920A4E
ΔE00 4.04
Wine (survey)
#80013F
ΔE00 4.19
Dark Magenta
#960056
ΔE00 4.87
Merlot
#730039
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F224D #227F54
analogous
#7F227C #7F224D #7F2622
triadic
#7F224D #4D7F22 #224D7F
tetradic
#7F224D #7C7F22 #227F54 #26227F
square
#7F224D #7C7F22 #227F54 #26227F
split-complementary
#7F224D #227F26 #227C7F
monochromatic
#1E0812 #4F1530 #7F224D #AF2F6A #CF4C89
Accessibility & contrast
On white
9.38
#7F224D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F224D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F224D
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F224D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F224D | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343B4E
Deuteranopia (green-blind)
#4D4D4B
Tritanopia (blue-blind)
#891834
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f224d; /* rgb */ color: rgb(127, 34, 77); /* oklch */ color: oklch(41.3% 0.133 356.4);
Tailwind
colors: {
custom: {
50: '#a8657e',
500: '#7f224d',
950: '#000000',
},
}SCSS
$custom: #7f224d; $custom-light: #a8657e; $custom-dark: #000000;
JSON
{
"hex": "#7f224d",
"rgb": {
"r": 127,
"g": 34,
"b": 77
},
"hsl": {
"h": 332.258,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41314,
"c": 0.13314,
"h": 356.4
},
"luminance": 0.06192
}Semantic roles & 50–950 ramp
primary
#7F224D
secondary
#4BB282
accent
#E19A47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C