#A8235F#A8235F
#A8235F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.174 H 358.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A8235F |
|---|---|
| RGB | rgb(168, 35, 95) |
| HSL | hsl(333, 66%, 40%) |
| HSV | hsv(333, 79%, 66%) |
| CMYK | cmyk(0%, 79.2%, 43.5%, 34.1%) |
| CIE-LAB | lab(38.47, 56.61, -1.52) |
| CIE-LCH | lch(38.47, 56.63, 358.46°) |
| OKLab | oklab(49.25% 0.1741 -0.0033) |
| OKLCH | oklch(49.25% 0.174 358.9) |
| XYZ | xyz(18.8165, 10.3556, 11.8322) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.07
Deep Magenta
#A0025C
ΔE00 3.86
Dark Fuchsia
#9D0759
ΔE00 3.95
Berry
#990F4B
ΔE00 4.98
Dark Magenta
#960056
ΔE00 5.52
Purplish Red
#B0054B
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8235F #23A86C
analogous
#A823A2 #A8235F #A82923
triadic
#A8235F #5FA823 #235FA8
tetradic
#A8235F #A2A823 #23A86C #2923A8
square
#A8235F #A2A823 #23A86C #2923A8
split-complementary
#A8235F #23A829 #23A2A8
monochromatic
#430E26 #751842 #A8235F #D5347C #DF669D
Accessibility & contrast
On white
6.84
#A8235F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#A8235F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8235F
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8235F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8235F | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424A60
Deuteranopia (green-blind)
#66645C
Tritanopia (blue-blind)
#B6063E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a8235f; /* rgb */ color: rgb(168, 35, 95); /* oklch */ color: oklch(49.2% 0.174 358.9);
Tailwind
colors: {
custom: {
50: '#c76c8c',
500: '#a8235f',
950: '#000000',
},
}SCSS
$custom: #a8235f; $custom-light: #c76c8c; $custom-dark: #000000;
JSON
{
"hex": "#a8235f",
"rgb": {
"r": 168,
"g": 35,
"b": 95
},
"hsl": {
"h": 332.932,
"s": 65.517,
"l": 39.804
},
"oklch": {
"l": 0.49247,
"c": 0.17408,
"h": 358.9
},
"luminance": 0.10353
}Semantic roles & 50–950 ramp
primary
#A8235F
secondary
#62C598
accent
#E89C3F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D