#7F245C#7F245C
#7F245C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.138 H 346.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7F245C |
|---|---|
| RGB | rgb(127, 36, 92) |
| HSL | hsl(323, 56%, 32%) |
| HSV | hsv(323, 72%, 50%) |
| CMYK | cmyk(0%, 71.7%, 27.6%, 50.2%) |
| CIE-LAB | lab(30.75, 44.44, -11.94) |
| CIE-LCH | lch(30.75, 46.02, 344.96°) |
| OKLab | oklab(42.13% 0.1348 -0.0315) |
| OKLCH | oklch(42.13% 0.138 346.8) |
| XYZ | xyz(11.3155, 6.5477, 10.7911) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.26
Reddish Purple
#910951
ΔE00 5.60
Dark Magenta
#960056
ΔE00 5.63
Grape
#6C3461
ΔE00 5.74
Rich Purple
#720058
ΔE00 5.74
Red Purple
#820747
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F245C #247F47
analogous
#75247F #7F245C #7F242F
triadic
#7F245C #5C7F24 #245C7F
tetradic
#7F245C #7F7524 #247F47 #242F7F
square
#7F245C #7F7524 #247F47 #242F7F
split-complementary
#7F245C #2F7F24 #247F75
monochromatic
#200917 #4F1639 #7F245C #AF327F #CD509D
Accessibility & contrast
On white
9.09
#7F245C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F245C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F245C
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F245C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F245C | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#4A4E5A
Tritanopia (blue-blind)
#88213C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f245c; /* rgb */ color: rgb(127, 36, 92); /* oklch */ color: oklch(42.1% 0.138 346.8);
Tailwind
colors: {
custom: {
50: '#a7678a',
500: '#7f245c',
950: '#000000',
},
}SCSS
$custom: #7f245c; $custom-light: #a7678a; $custom-dark: #000000;
JSON
{
"hex": "#7f245c",
"rgb": {
"r": 127,
"g": 36,
"b": 92
},
"hsl": {
"h": 323.077,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.42132,
"c": 0.1384,
"h": 346.8
},
"luminance": 0.06546
}Semantic roles & 50–950 ramp
primary
#7F245C
secondary
#4EB174
accent
#DF8349
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C