#7F225F#7F225F
#7F225F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.143 H 344.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F225F |
|---|---|
| RGB | rgb(127, 34, 95) |
| HSL | hsl(321, 58%, 32%) |
| HSV | hsv(321, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 25.2%, 50.2%) |
| CIE-LAB | lab(30.60, 45.65, -14.13) |
| CIE-LCH | lch(30.60, 47.78, 342.80°) |
| OKLab | oklab(42.06% 0.1379 -0.0376) |
| OKLCH | oklch(42.06% 0.143 344.8) |
| XYZ | xyz(11.3904, 6.4835, 11.4758) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.10
Rich Purple
#720058
ΔE00 5.11
Grape
#6C3461
ΔE00 5.63
Red Violet
#9E0168
ΔE00 5.80
Dark Magenta
#960056
ΔE00 6.07
Reddish Purple
#910951
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F225F #227F42
analogous
#71227F #7F225F #7F2231
triadic
#7F225F #5F7F22 #225F7F
tetradic
#7F225F #7F7122 #227F42 #22317F
square
#7F225F #7F7122 #227F42 #22317F
split-complementary
#7F225F #317F22 #227F71
monochromatic
#1E0817 #4F153B #7F225F #AF2F83 #CF4CA2
Accessibility & contrast
On white
9.14
#7F225F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#7F225F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F225F
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F225F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F225F | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3E61
Deuteranopia (green-blind)
#484E5D
Tritanopia (blue-blind)
#88213D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f225f; /* rgb */ color: rgb(127, 34, 95); /* oklch */ color: oklch(42.1% 0.143 344.8);
Tailwind
colors: {
custom: {
50: '#a7668c',
500: '#7f225f',
950: '#000000',
},
}SCSS
$custom: #7f225f; $custom-light: #a7668c; $custom-dark: #000000;
JSON
{
"hex": "#7f225f",
"rgb": {
"r": 127,
"g": 34,
"b": 95
},
"hsl": {
"h": 320.645,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.42062,
"c": 0.14292,
"h": 344.8
},
"luminance": 0.06482
}Semantic roles & 50–950 ramp
primary
#7F225F
secondary
#4BB26E
accent
#E17C47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D