#AB2A45#AB2A45

#AB2A45 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.165 H 13.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB2A45
RGBrgb(171, 42, 69)
HSLhsl(347, 61%, 42%)
HSVhsv(347, 75%, 67%)
CMYKcmyk(0%, 75.4%, 59.6%, 32.9%)
CIE-LABlab(39.15, 53.09, 16.05)
CIE-LCHlch(39.15, 55.46, 16.83°)
OKLaboklab(49.63% 0.1597 0.0396)
OKLCHoklch(49.63% 0.165 13.9)
XYZxyz(18.6986, 10.7462, 6.7187)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A45 #2AAB90
analogous
#AB2A86 #AB2A45 #AB502A
triadic
#AB2A45 #45AB2A #2A45AB
tetradic
#AB2A45 #86AB2A #2AAB90 #502AAB
square
#AB2A45 #86AB2A #2AAB90 #502AAB
split-complementary
#AB2A45 #2AAB50 #2A86AB
monochromatic
#49121D #7A1E31 #AB2A45 #D14260 #DD7389

Accessibility & contrast

On white

6.67
#AB2A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A45
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A45#FFFFFF#000000##FFFFFF
##AB2A451.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B45
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a45;
/* rgb */ color: rgb(171, 42, 69);
/* oklch */ color: oklch(49.6% 0.165 13.9);
Tailwind
colors: {
  custom: {
    50: '#cb6f78',
    500: '#ab2a45',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a45;
$custom-light: #cb6f78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a45",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 347.442,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49626,
    "c": 0.16454,
    "h": 13.9
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#AB2A45
secondary
#6DC4B2
accent
#E4C244
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2A45

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

Preview Lab → · Contrast checker → · Palette generator →

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