#AB2F4B#AB2F4B
#AB2F4B is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 12.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F4B |
|---|---|
| RGB | rgb(171, 47, 75) |
| HSL | hsl(346, 57%, 43%) |
| HSV | hsv(346, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 56.1%, 32.9%) |
| CIE-LAB | lab(39.92, 51.75, 13.30) |
| CIE-LCH | lch(39.92, 53.43, 14.42°) |
| OKLab | oklab(50.24% 0.1564 0.0334) |
| OKLCH | oklch(50.24% 0.16 12) |
| XYZ | xyz(19.0829, 11.2016, 7.8125) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.26
Purplish Red
#B0054B
ΔE00 4.33
Light Burgundy
#A8415B
ΔE00 4.38
Rouge
#AB1239
ΔE00 4.48
Light Maroon
#A24857
ΔE00 5.08
Rose Red
#BE013C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F4B #2FAB8F
analogous
#AB2F89 #AB2F4B #AB512F
triadic
#AB2F4B #4BAB2F #2F4BAB
tetradic
#AB2F4B #89AB2F #2FAB8F #512FAB
square
#AB2F4B #89AB2F #2FAB8F #512FAB
split-complementary
#AB2F4B #2FAB51 #2F89AB
monochromatic
#4B1521 #7B2236 #AB2F4B #CD4A68 #DA7A90
Accessibility & contrast
On white
6.48
#AB2F4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AB2F4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F4B
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F4B | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#6F6748
Tritanopia (blue-blind)
#BB0F3A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f4b; /* rgb */ color: rgb(171, 47, 75); /* oklch */ color: oklch(50.2% 0.160 12.0);
Tailwind
colors: {
custom: {
50: '#ca717d',
500: '#ab2f4b',
950: '#000000',
},
}SCSS
$custom: #ab2f4b; $custom-light: #ca717d; $custom-dark: #000000;
JSON
{
"hex": "#ab2f4b",
"rgb": {
"r": 171,
"g": 47,
"b": 75
},
"hsl": {
"h": 346.452,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50239,
"c": 0.15993,
"h": 12
},
"luminance": 0.11199
}Semantic roles & 50–950 ramp
primary
#AB2F4B
secondary
#73C3B1
accent
#E0BE48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B