#7F2250#7F2250
#7F2250 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.135 H 354.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2250 |
|---|---|
| RGB | rgb(127, 34, 80) |
| HSL | hsl(330, 58%, 32%) |
| HSV | hsv(330, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 37%, 50.2%) |
| CIE-LAB | lab(30.00, 43.69, -5.23) |
| CIE-LCH | lch(30.00, 44.00, 353.17°) |
| OKLab | oklab(41.43% 0.1338 -0.0133) |
| OKLCH | oklch(41.43% 0.135 354.3) |
| XYZ | xyz(10.7730, 6.2365, 8.2243) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.25
Reddish Purple
#910951
ΔE00 3.89
Mulberry
#920A4E
ΔE00 4.30
Dark Magenta
#960056
ΔE00 4.70
Wine (survey)
#80013F
ΔE00 4.78
Velvet
#750851
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2250 #227F51
analogous
#7F227F #7F2250 #7F2322
triadic
#7F2250 #507F22 #22507F
tetradic
#7F2250 #7F7F22 #227F51 #23227F
square
#7F2250 #7F7F22 #227F51 #23227F
split-complementary
#7F2250 #227F23 #227F7F
monochromatic
#1E0813 #4F1532 #7F2250 #AF2F6E #CF4C8D
Accessibility & contrast
On white
9.35
#7F2250 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7F2250 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2250
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2250 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2250 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333C51
Deuteranopia (green-blind)
#4D4D4E
Tritanopia (blue-blind)
#891A36
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2250; /* rgb */ color: rgb(127, 34, 80); /* oklch */ color: oklch(41.4% 0.135 354.3);
Tailwind
colors: {
custom: {
50: '#a86581',
500: '#7f2250',
950: '#000000',
},
}SCSS
$custom: #7f2250; $custom-light: #a86581; $custom-dark: #000000;
JSON
{
"hex": "#7f2250",
"rgb": {
"r": 127,
"g": 34,
"b": 80
},
"hsl": {
"h": 330.323,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41427,
"c": 0.1345,
"h": 354.3
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#7F2250
secondary
#4BB27F
accent
#E19547
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C