#AB2E4B#AB2E4B

#AB2E4B is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.161 H 11.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB2E4B
RGBrgb(171, 46, 75)
HSLhsl(346, 58%, 43%)
HSVhsv(346, 73%, 67%)
CMYKcmyk(0%, 73.1%, 56.1%, 32.9%)
CIE-LABlab(39.79, 52.12, 13.12)
CIE-LCHlch(39.79, 53.74, 14.13°)
OKLaboklab(50.14% 0.1576 0.0329)
OKLCHoklch(50.14% 0.161 11.8)
XYZxyz(19.0434, 11.1226, 7.7993)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E4B #2EAB8E
analogous
#AB2E8A #AB2E4B #AB4F2E
triadic
#AB2E4B #4BAB2E #2E4BAB
tetradic
#AB2E4B #8AAB2E #2EAB8E #4F2EAB
square
#AB2E4B #8AAB2E #2EAB8E #4F2EAB
split-complementary
#AB2E4B #2EAB4F #2E8AAB
monochromatic
#4B1421 #7B2136 #AB2E4B #CE4867 #DB798F

Accessibility & contrast

On white

6.51
#AB2E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2E4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E4B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E4B#FFFFFF#000000##FFFFFF
##AB2E4B1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4B
Deuteranopia (green-blind)
#6E6748
Tritanopia (blue-blind)
#BB0D3A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e4b;
/* rgb */ color: rgb(171, 46, 75);
/* oklch */ color: oklch(50.1% 0.161 11.8);
Tailwind
colors: {
  custom: {
    50: '#ca717d',
    500: '#ab2e4b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e4b;
$custom-light: #ca717d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e4b",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 346.08,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.16099,
    "h": 11.8
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#AB2E4B
secondary
#72C3B0
accent
#E1BD47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2E4B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB2E4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva