#AB2F45#AB2F45

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

Color values

HEX#AB2F45
RGBrgb(171, 47, 69)
HSLhsl(349, 57%, 43%)
HSVhsv(349, 73%, 67%)
CMYKcmyk(0%, 72.5%, 59.6%, 32.9%)
CIE-LABlab(39.79, 51.31, 16.91)
CIE-LCHlch(39.79, 54.02, 18.24°)
OKLaboklab(50.1% 0.154 0.0416)
OKLCHoklch(50.1% 0.16 15.1)
XYZxyz(18.8871, 11.1233, 6.7815)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F45 #2FAB95
analogous
#AB2F83 #AB2F45 #AB572F
triadic
#AB2F45 #45AB2F #2F45AB
tetradic
#AB2F45 #83AB2F #2FAB95 #572FAB
square
#AB2F45 #83AB2F #2FAB95 #572FAB
split-complementary
#AB2F45 #2FAB57 #2F83AB
monochromatic
#4B151E #7B2232 #AB2F45 #CD4A61 #DA7A8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F45#FFFFFF#000000##FFFFFF
##AB2F451.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)
#504D45
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#BB0B38
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f45;
/* rgb */ color: rgb(171, 47, 69);
/* oklch */ color: oklch(50.1% 0.160 15.1);
Tailwind
colors: {
  custom: {
    50: '#cb7178',
    500: '#ab2f45',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f45;
$custom-light: #cb7178;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f45",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 349.355,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.15953,
    "h": 15.1
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#AB2F45
secondary
#73C3B5
accent
#E0C548
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #AB2F45

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

Preview Lab → · Contrast checker → · Palette generator →

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