#7F245F#7F245F
#7F245F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.140 H 345.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7F245F |
|---|---|
| RGB | rgb(127, 36, 95) |
| HSL | hsl(321, 56%, 32%) |
| HSV | hsv(321, 72%, 50%) |
| CMYK | cmyk(0%, 71.7%, 25.2%, 50.2%) |
| CIE-LAB | lab(30.88, 44.86, -13.70) |
| CIE-LCH | lch(30.88, 46.91, 343.02°) |
| OKLab | oklab(42.27% 0.1355 -0.0364) |
| OKLCH | oklch(42.27% 0.14 345) |
| XYZ | xyz(11.4493, 6.6012, 11.4954) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.35
Rich Purple
#720058
ΔE00 5.43
Grape
#6C3461
ΔE00 5.46
Red Violet
#9E0168
ΔE00 5.86
Dark Magenta
#960056
ΔE00 6.09
Reddish Purple
#910951
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F245F #247F44
analogous
#72247F #7F245F #7F2432
triadic
#7F245F #5F7F24 #245F7F
tetradic
#7F245F #7F7224 #247F44 #24327F
square
#7F245F #7F7224 #247F44 #24327F
split-complementary
#7F245F #327F24 #247F72
monochromatic
#200918 #4F163B #7F245F #AF3283 #CD50A1
Accessibility & contrast
On white
9.05
#7F245F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7F245F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F245F
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F245F | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#88233E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f245f; /* rgb */ color: rgb(127, 36, 95); /* oklch */ color: oklch(42.3% 0.140 345.0);
Tailwind
colors: {
custom: {
50: '#a7678c',
500: '#7f245f',
950: '#000000',
},
}SCSS
$custom: #7f245f; $custom-light: #a7678c; $custom-dark: #000000;
JSON
{
"hex": "#7f245f",
"rgb": {
"r": 127,
"g": 36,
"b": 95
},
"hsl": {
"h": 321.099,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.42267,
"c": 0.14028,
"h": 345
},
"luminance": 0.066
}Semantic roles & 50–950 ramp
primary
#7F245F
secondary
#4EB171
accent
#DF7E49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D