#7C246A#7C246A
#7C246A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 337.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7C246A |
|---|---|
| RGB | rgb(124, 36, 106) |
| HSL | hsl(312, 55%, 31%) |
| HSV | hsv(312, 71%, 49%) |
| CMYK | cmyk(0%, 71%, 14.5%, 51.4%) |
| CIE-LAB | lab(30.85, 45.68, -20.88) |
| CIE-LCH | lch(30.85, 50.22, 335.44°) |
| OKLab | oklab(42.31% 0.1344 -0.0567) |
| OKLCH | oklch(42.31% 0.146 337.1) |
| XYZ | xyz(11.5448, 6.5885, 14.2966) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.18
Rich Purple
#720058
ΔE00 5.13
Grape
#6C3461
ΔE00 5.22
Velvet
#750851
ΔE00 5.76
Purple
#800080
ΔE00 6.27
Bruise
#7E4071
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C246A #247C36
analogous
#62247C #7C246A #7C243E
triadic
#7C246A #6A7C24 #246A7C
tetradic
#7C246A #7C6224 #247C36 #243E7C
square
#7C246A #7C6224 #247C36 #243E7C
split-complementary
#7C246A #3E7C24 #247C62
monochromatic
#1D0819 #4D1641 #7C246A #AB3293 #CC4FB2
Accessibility & contrast
On white
9.06
#7C246A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7C246A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C246A
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C246A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C246A | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#832943
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7c246a; /* rgb */ color: rgb(124, 36, 106); /* oklch */ color: oklch(42.3% 0.146 337.1);
Tailwind
colors: {
custom: {
50: '#a56795',
500: '#7c246a',
950: '#000000',
},
}SCSS
$custom: #7c246a; $custom-light: #a56795; $custom-dark: #000000;
JSON
{
"hex": "#7c246a",
"rgb": {
"r": 124,
"g": 36,
"b": 106
},
"hsl": {
"h": 312.273,
"s": 55,
"l": 31.373
},
"oklch": {
"l": 0.42308,
"c": 0.14583,
"h": 337.1
},
"luminance": 0.06587
}Semantic roles & 50–950 ramp
primary
#7C246A
secondary
#4DAE61
accent
#DE6849
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E