#7F225A#7F225A
#7F225A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.140 H 347.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F225A |
|---|---|
| RGB | rgb(127, 34, 90) |
| HSL | hsl(324, 58%, 32%) |
| HSV | hsv(324, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 29.1%, 50.2%) |
| CIE-LAB | lab(30.39, 44.96, -11.20) |
| CIE-LCH | lch(30.39, 46.33, 346.01°) |
| OKLab | oklab(41.84% 0.1367 -0.0295) |
| OKLCH | oklch(41.84% 0.14 347.8) |
| XYZ | xyz(11.1704, 6.3955, 10.3171) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.98
Reddish Purple
#910951
ΔE00 5.22
Red Purple
#820747
ΔE00 5.24
Dark Magenta
#960056
ΔE00 5.32
Rich Purple
#720058
ΔE00 5.68
Red Violet
#9E0168
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F225A #227F47
analogous
#76227F #7F225A #7F222C
triadic
#7F225A #5A7F22 #225A7F
tetradic
#7F225A #7F7622 #227F47 #222C7F
square
#7F225A #7F7622 #227F47 #222C7F
split-complementary
#7F225A #2C7F22 #227F76
monochromatic
#1E0816 #4F1538 #7F225A #AF2F7C #CF4C9B
Accessibility & contrast
On white
9.22
#7F225A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F225A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F225A
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F225A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F225A | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3D5C
Deuteranopia (green-blind)
#4A4D58
Tritanopia (blue-blind)
#881E3B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f225a; /* rgb */ color: rgb(127, 34, 90); /* oklch */ color: oklch(41.8% 0.140 347.8);
Tailwind
colors: {
custom: {
50: '#a86688',
500: '#7f225a',
950: '#000000',
},
}SCSS
$custom: #7f225a; $custom-light: #a86688; $custom-dark: #000000;
JSON
{
"hex": "#7f225a",
"rgb": {
"r": 127,
"g": 34,
"b": 90
},
"hsl": {
"h": 323.871,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41838,
"c": 0.13984,
"h": 347.8
},
"luminance": 0.06394
}Semantic roles & 50–950 ramp
primary
#7F225A
secondary
#4BB274
accent
#E18447
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C