#A6245F#A6245F
#A6245F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.172 H 358.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A6245F |
|---|---|
| RGB | rgb(166, 36, 95) |
| HSL | hsl(333, 64%, 40%) |
| HSV | hsv(333, 78%, 65%) |
| CMYK | cmyk(0%, 78.3%, 42.8%, 34.9%) |
| CIE-LAB | lab(38.19, 55.77, -1.98) |
| CIE-LCH | lch(38.19, 55.81, 357.97°) |
| OKLab | oklab(48.97% 0.1714 -0.0045) |
| OKLCH | oklch(48.97% 0.172 358.5) |
| XYZ | xyz(18.4237, 10.1974, 11.8224) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.05
Deep Magenta
#A0025C
ΔE00 3.64
Dark Fuchsia
#9D0759
ΔE00 3.71
Berry
#990F4B
ΔE00 4.87
Dark Magenta
#960056
ΔE00 5.25
Mulberry
#920A4E
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6245F #24A66B
analogous
#A624A0 #A6245F #A62A24
triadic
#A6245F #5FA624 #245FA6
tetradic
#A6245F #A0A624 #24A66B #2A24A6
square
#A6245F #A0A624 #24A66B #2A24A6
split-complementary
#A6245F #24A62A #24A0A6
monochromatic
#410E25 #741942 #A6245F #D3347C #DE669D
Accessibility & contrast
On white
6.91
#A6245F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#A6245F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6245F
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6245F | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B40B3E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a6245f; /* rgb */ color: rgb(166, 36, 95); /* oklch */ color: oklch(49.0% 0.172 358.5);
Tailwind
colors: {
custom: {
50: '#c66c8c',
500: '#a6245f',
950: '#000000',
},
}SCSS
$custom: #a6245f; $custom-light: #c66c8c; $custom-dark: #000000;
JSON
{
"hex": "#a6245f",
"rgb": {
"r": 166,
"g": 36,
"b": 95
},
"hsl": {
"h": 332.769,
"s": 64.356,
"l": 39.608
},
"oklch": {
"l": 0.48973,
"c": 0.1715,
"h": 358.5
},
"luminance": 0.10195
}Semantic roles & 50–950 ramp
primary
#A6245F
secondary
#62C497
accent
#E79C40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D