#7F225E#7F225E
#7F225E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 345.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F225E |
|---|---|
| RGB | rgb(127, 34, 94) |
| HSL | hsl(321, 58%, 32%) |
| HSV | hsv(321, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 26%, 50.2%) |
| CIE-LAB | lab(30.56, 45.51, -13.54) |
| CIE-LCH | lch(30.56, 47.48, 343.43°) |
| OKLab | oklab(42.02% 0.1377 -0.036) |
| OKLCH | oklch(42.02% 0.142 345.4) |
| XYZ | xyz(11.3453, 6.4654, 11.2380) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.04
Rich Purple
#720058
ΔE00 5.20
Grape
#6C3461
ΔE00 5.70
Red Violet
#9E0168
ΔE00 5.80
Dark Magenta
#960056
ΔE00 5.91
Reddish Purple
#910951
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F225E #227F43
analogous
#72227F #7F225E #7F2230
triadic
#7F225E #5E7F22 #225E7F
tetradic
#7F225E #7F7222 #227F43 #22307F
square
#7F225E #7F7222 #227F43 #22307F
split-complementary
#7F225E #307F22 #227F72
monochromatic
#1E0817 #4F153A #7F225E #AF2F82 #CF4CA1
Accessibility & contrast
On white
9.16
#7F225E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F225E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F225E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F225E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F225E | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#494E5C
Tritanopia (blue-blind)
#88203D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f225e; /* rgb */ color: rgb(127, 34, 94); /* oklch */ color: oklch(42.0% 0.142 345.4);
Tailwind
colors: {
custom: {
50: '#a8668b',
500: '#7f225e',
950: '#000000',
},
}SCSS
$custom: #7f225e; $custom-light: #a8668b; $custom-dark: #000000;
JSON
{
"hex": "#7f225e",
"rgb": {
"r": 127,
"g": 34,
"b": 94
},
"hsl": {
"h": 321.29,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.42017,
"c": 0.14228,
"h": 345.4
},
"luminance": 0.06464
}Semantic roles & 50–950 ramp
primary
#7F225E
secondary
#4BB270
accent
#E17E47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D