#A7246C#A7246C
#A7246C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.178 H 352.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A7246C |
|---|---|
| RGB | rgb(167, 36, 108) |
| HSL | hsl(327, 65%, 40%) |
| HSV | hsv(327, 78%, 65%) |
| CMYK | cmyk(0%, 78.4%, 35.3%, 34.5%) |
| CIE-LAB | lab(38.83, 57.41, -9.23) |
| CIE-LCH | lch(38.83, 58.15, 350.87°) |
| OKLab | oklab(49.62% 0.1762 -0.0238) |
| OKLCH | oklch(49.62% 0.178 352.3) |
| XYZ | xyz(19.2752, 10.5623, 15.2081) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.05
Deep Magenta
#A0025C
ΔE00 4.07
Dark Fuchsia
#9D0759
ΔE00 4.57
Magenta (survey)
#C20078
ΔE00 4.76
Violet Red
#A50055
ΔE00 5.33
Dark Magenta
#960056
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7246C #24A75F
analogous
#A124A7 #A7246C #A7242A
triadic
#A7246C #6CA724 #246CA7
tetradic
#A7246C #A7A124 #24A75F #242AA7
square
#A7246C #A7A124 #24A75F #242AA7
split-complementary
#A7246C #2AA724 #24A7A1
monochromatic
#420E2B #75194B #A7246C #D3358C #DE67A9
Accessibility & contrast
On white
6.75
#A7246C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#A7246C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7246C
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7246C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7246C | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4C6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B41645
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a7246c; /* rgb */ color: rgb(167, 36, 108); /* oklch */ color: oklch(49.6% 0.178 352.3);
Tailwind
colors: {
custom: {
50: '#c66d96',
500: '#a7246c',
950: '#000000',
},
}SCSS
$custom: #a7246c; $custom-light: #c66d96; $custom-dark: #000000;
JSON
{
"hex": "#a7246c",
"rgb": {
"r": 167,
"g": 36,
"b": 108
},
"hsl": {
"h": 327.023,
"s": 64.532,
"l": 39.804
},
"oklch": {
"l": 0.49622,
"c": 0.17776,
"h": 352.3
},
"luminance": 0.1056
}Semantic roles & 50–950 ramp
primary
#A7246C
secondary
#63C48F
accent
#E88C40
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E