#7F225D#7F225D
#7F225D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.142 H 346.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F225D |
|---|---|
| RGB | rgb(127, 34, 93) |
| HSL | hsl(322, 58%, 32%) |
| HSV | hsv(322, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 26.8%, 50.2%) |
| CIE-LAB | lab(30.51, 45.37, -12.96) |
| CIE-LCH | lch(30.51, 47.18, 344.06°) |
| OKLab | oklab(41.97% 0.1374 -0.0343) |
| OKLCH | oklch(41.97% 0.142 346) |
| XYZ | xyz(11.3007, 6.4476, 11.0032) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.00
Rich Purple
#720058
ΔE00 5.30
Dark Magenta
#960056
ΔE00 5.75
Grape
#6C3461
ΔE00 5.78
Red Violet
#9E0168
ΔE00 5.80
Reddish Purple
#910951
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F225D #227F44
analogous
#73227F #7F225D #7F222F
triadic
#7F225D #5D7F22 #225D7F
tetradic
#7F225D #7F7322 #227F44 #222F7F
square
#7F225D #7F7322 #227F44 #222F7F
split-complementary
#7F225D #2F7F22 #227F73
monochromatic
#1E0816 #4F153A #7F225D #AF2F80 #CF4C9F
Accessibility & contrast
On white
9.17
#7F225D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F225D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F225D
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F225D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F225D | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3E5F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#88203C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f225d; /* rgb */ color: rgb(127, 34, 93); /* oklch */ color: oklch(42.0% 0.142 346.0);
Tailwind
colors: {
custom: {
50: '#a8668b',
500: '#7f225d',
950: '#000000',
},
}SCSS
$custom: #7f225d; $custom-light: #a8668b; $custom-dark: #000000;
JSON
{
"hex": "#7f225d",
"rgb": {
"r": 127,
"g": 34,
"b": 93
},
"hsl": {
"h": 321.935,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41971,
"c": 0.14166,
"h": 346
},
"luminance": 0.06446
}Semantic roles & 50–950 ramp
primary
#7F225D
secondary
#4BB271
accent
#E17F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D