#7F155C#7F155C
#7F155C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 345.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F155C |
|---|---|
| RGB | rgb(127, 21, 92) |
| HSL | hsl(320, 72%, 29%) |
| HSV | hsv(320, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 27.6%, 50.2%) |
| CIE-LAB | lab(28.96, 49.52, -14.69) |
| CIE-LCH | lch(28.96, 51.65, 343.48°) |
| OKLab | oklab(40.83% 0.1505 -0.0391) |
| OKLCH | oklch(40.83% 0.156 345.4) |
| XYZ | xyz(10.9528, 5.8223, 10.6702) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.76
Rich Purple
#720058
ΔE00 3.78
Red Violet
#9E0168
ΔE00 5.78
Dark Magenta
#960056
ΔE00 5.81
Red Purple
#820747
ΔE00 5.87
Reddish Purple
#910951
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F155C #157F38
analogous
#6D157F #7F155C #7F1527
triadic
#7F155C #5C7F15 #155C7F
tetradic
#7F155C #7F6D15 #157F38 #15277F
square
#7F155C #7F6D15 #157F38 #15277F
split-complementary
#7F155C #277F15 #157F6D
monochromatic
#1A0413 #4A0C36 #7F155C #B41E82 #DD31A4
Accessibility & contrast
On white
9.70
#7F155C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F155C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F155C
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F155C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F155C | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#454B5A
Tritanopia (blue-blind)
#881237
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f155c; /* rgb */ color: rgb(127, 21, 92); /* oklch */ color: oklch(40.8% 0.156 345.4);
Tailwind
colors: {
custom: {
50: '#a8618a',
500: '#7f155c',
950: '#000000',
},
}SCSS
$custom: #7f155c; $custom-light: #a8618a; $custom-dark: #000000;
JSON
{
"hex": "#7f155c",
"rgb": {
"r": 127,
"g": 21,
"b": 92
},
"hsl": {
"h": 319.811,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40827,
"c": 0.15551,
"h": 345.4
},
"luminance": 0.05821
}Semantic roles & 50–950 ramp
primary
#7F155C
secondary
#3CB463
accent
#EE7539
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C