#7C245E#7C245E
#7C245E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.137 H 344.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7C245E |
|---|---|
| RGB | rgb(124, 36, 94) |
| HSL | hsl(320, 55%, 31%) |
| HSV | hsv(320, 71%, 49%) |
| CMYK | cmyk(0%, 71%, 24.2%, 51.4%) |
| CIE-LAB | lab(30.29, 43.85, -14.00) |
| CIE-LCH | lch(30.29, 46.03, 342.30°) |
| OKLab | oklab(41.72% 0.1321 -0.0373) |
| OKLCH | oklch(41.72% 0.137 344.2) |
| XYZ | xyz(10.9638, 6.3561, 11.2369) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.08
Grape
#6C3461
ΔE00 5.07
Rich Purple
#720058
ΔE00 5.08
Red Violet
#9E0168
ΔE00 6.42
Dark Magenta
#960056
ΔE00 6.56
Red Purple
#820747
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C245E #247C42
analogous
#6E247C #7C245E #7C2432
triadic
#7C245E #5E7C24 #245E7C
tetradic
#7C245E #7C6E24 #247C42 #24327C
square
#7C245E #7C6E24 #247C42 #24327C
split-complementary
#7C245E #327C24 #247C6E
monochromatic
#1D0816 #4D163A #7C245E #AB3282 #CC4FA1
Accessibility & contrast
On white
9.25
#7C245E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7C245E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C245E
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C245E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C245E | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#474D5C
Tritanopia (blue-blind)
#84233D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7c245e; /* rgb */ color: rgb(124, 36, 94); /* oklch */ color: oklch(41.7% 0.137 344.2);
Tailwind
colors: {
custom: {
50: '#a5668b',
500: '#7c245e',
950: '#000000',
},
}SCSS
$custom: #7c245e; $custom-light: #a5668b; $custom-dark: #000000;
JSON
{
"hex": "#7c245e",
"rgb": {
"r": 124,
"g": 36,
"b": 94
},
"hsl": {
"h": 320.455,
"s": 55,
"l": 31.373
},
"oklch": {
"l": 0.4172,
"c": 0.1373,
"h": 344.2
},
"luminance": 0.06355
}Semantic roles & 50–950 ramp
primary
#7C245E
secondary
#4DAE6E
accent
#DE7C49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D