#7F225B#7F225B
#7F225B is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.140 H 347.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7F225B |
|---|---|
| RGB | rgb(127, 34, 91) |
| HSL | hsl(323, 58%, 32%) |
| HSV | hsv(323, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 28.3%, 50.2%) |
| CIE-LAB | lab(30.43, 45.10, -11.79) |
| CIE-LCH | lch(30.43, 46.61, 345.35°) |
| OKLab | oklab(41.88% 0.1369 -0.0311) |
| OKLCH | oklch(41.88% 0.14 347.2) |
| XYZ | xyz(11.2133, 6.4126, 10.5427) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.97
Reddish Purple
#910951
ΔE00 5.41
Dark Magenta
#960056
ΔE00 5.45
Red Purple
#820747
ΔE00 5.48
Rich Purple
#720058
ΔE00 5.54
Red Violet
#9E0168
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F225B #227F46
analogous
#75227F #7F225B #7F222D
triadic
#7F225B #5B7F22 #225B7F
tetradic
#7F225B #7F7522 #227F46 #222D7F
square
#7F225B #7F7522 #227F46 #222D7F
split-complementary
#7F225B #2D7F22 #227F75
monochromatic
#1E0816 #4F1538 #7F225B #AF2F7E #CF4C9C
Accessibility & contrast
On white
9.20
#7F225B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F225B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F225B
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F225B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F225B | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3D5D
Deuteranopia (green-blind)
#4A4D59
Tritanopia (blue-blind)
#881F3B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f225b; /* rgb */ color: rgb(127, 34, 91); /* oklch */ color: oklch(41.9% 0.140 347.2);
Tailwind
colors: {
custom: {
50: '#a86689',
500: '#7f225b',
950: '#000000',
},
}SCSS
$custom: #7f225b; $custom-light: #a86689; $custom-dark: #000000;
JSON
{
"hex": "#7f225b",
"rgb": {
"r": 127,
"g": 34,
"b": 91
},
"hsl": {
"h": 323.226,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41882,
"c": 0.14044,
"h": 347.2
},
"luminance": 0.06411
}Semantic roles & 50–950 ramp
primary
#7F225B
secondary
#4BB273
accent
#E18247
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C