#7F224F#7F224F
#7F224F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.134 H 355.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7F224F |
|---|---|
| RGB | rgb(127, 34, 79) |
| HSL | hsl(331, 58%, 32%) |
| HSV | hsv(331, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 37.8%, 50.2%) |
| CIE-LAB | lab(29.97, 43.57, -4.62) |
| CIE-LCH | lch(29.97, 43.82, 353.94°) |
| OKLab | oklab(41.39% 0.1335 -0.0116) |
| OKLCH | oklch(41.39% 0.134 355) |
| XYZ | xyz(10.7364, 6.2219, 8.0312) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.13
Reddish Purple
#910951
ΔE00 3.85
Mulberry
#920A4E
ΔE00 4.20
Wine (survey)
#80013F
ΔE00 4.58
Dark Magenta
#960056
ΔE00 4.74
Velvet
#750851
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F224F #227F52
analogous
#7F227E #7F224F #7F2422
triadic
#7F224F #4F7F22 #224F7F
tetradic
#7F224F #7E7F22 #227F52 #24227F
square
#7F224F #7E7F22 #227F52 #24227F
split-complementary
#7F224F #227F24 #227E7F
monochromatic
#1E0813 #4F1531 #7F224F #AF2F6D #CF4C8C
Accessibility & contrast
On white
9.36
#7F224F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F224F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F224F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F224F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F224F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#891935
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f224f; /* rgb */ color: rgb(127, 34, 79); /* oklch */ color: oklch(41.4% 0.134 355.0);
Tailwind
colors: {
custom: {
50: '#a86580',
500: '#7f224f',
950: '#000000',
},
}SCSS
$custom: #7f224f; $custom-light: #a86580; $custom-dark: #000000;
JSON
{
"hex": "#7f224f",
"rgb": {
"r": 127,
"g": 34,
"b": 79
},
"hsl": {
"h": 330.968,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41389,
"c": 0.13403,
"h": 355
},
"luminance": 0.06221
}Semantic roles & 50–950 ramp
primary
#7F224F
secondary
#4BB280
accent
#E19647
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C