#A8245F#A8245F
#A8245F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.173 H 359.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A8245F |
|---|---|
| RGB | rgb(168, 36, 95) |
| HSL | hsl(333, 65%, 40%) |
| HSV | hsv(333, 79%, 66%) |
| CMYK | cmyk(0%, 78.6%, 43.5%, 34.1%) |
| CIE-LAB | lab(38.58, 56.31, -1.37) |
| CIE-LCH | lch(38.58, 56.33, 358.61°) |
| OKLab | oklab(49.32% 0.1731 -0.0029) |
| OKLCH | oklch(49.32% 0.173 359) |
| XYZ | xyz(18.8463, 10.4153, 11.8422) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.17
Deep Magenta
#A0025C
ΔE00 3.99
Dark Fuchsia
#9D0759
ΔE00 4.08
Berry
#990F4B
ΔE00 5.02
Purplish Red
#B0054B
ΔE00 5.63
Dark Magenta
#960056
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8245F #24A86D
analogous
#A824A1 #A8245F #A82B24
triadic
#A8245F #5FA824 #245FA8
tetradic
#A8245F #A1A824 #24A86D #2B24A8
square
#A8245F #A1A824 #24A86D #2B24A8
split-complementary
#A8245F #24A82B #24A1A8
monochromatic
#430E26 #761942 #A8245F #D4357C #DF689D
Accessibility & contrast
On white
6.81
#A8245F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#A8245F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8245F
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8245F | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#66645C
Tritanopia (blue-blind)
#B6093E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a8245f; /* rgb */ color: rgb(168, 36, 95); /* oklch */ color: oklch(49.3% 0.173 359.0);
Tailwind
colors: {
custom: {
50: '#c76d8c',
500: '#a8245f',
950: '#000000',
},
}SCSS
$custom: #a8245f; $custom-light: #c76d8c; $custom-dark: #000000;
JSON
{
"hex": "#a8245f",
"rgb": {
"r": 168,
"g": 36,
"b": 95
},
"hsl": {
"h": 333.182,
"s": 64.706,
"l": 40
},
"oklch": {
"l": 0.49324,
"c": 0.17312,
"h": 359
},
"luminance": 0.10413
}Semantic roles & 50–950 ramp
primary
#A8245F
secondary
#63C499
accent
#E89D40
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D