#AB334D#AB334D

#AB334D is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.156 H 12.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB334D
RGBrgb(171, 51, 77)
HSLhsl(347, 54%, 44%)
HSVhsv(347, 70%, 67%)
CMYKcmyk(0%, 70.2%, 55%, 32.9%)
CIE-LABlab(40.51, 50.39, 12.86)
CIE-LCHlch(40.51, 52.00, 14.32°)
OKLaboklab(50.7% 0.1523 0.0324)
OKLCHoklch(50.7% 0.156 12)
XYZxyz(19.3197, 11.5640, 8.2345)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB334D #33AB91
analogous
#AB3389 #AB334D #AB5533
triadic
#AB334D #4DAB33 #334DAB
tetradic
#AB334D #89AB33 #33AB91 #5533AB
square
#AB334D #89AB33 #33AB91 #5533AB
split-complementary
#AB334D #33AB55 #3389AB
monochromatic
#4D1723 #7C2538 #AB334D #CB506B #D97F93

Accessibility & contrast

On white

6.34
#AB334D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB334D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB334D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB334D#FFFFFF#000000##FFFFFF
##AB334D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504D
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#BB193D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab334d;
/* rgb */ color: rgb(171, 51, 77);
/* oklch */ color: oklch(50.7% 0.156 12.0);
Tailwind
colors: {
  custom: {
    50: '#ca737e',
    500: '#ab334d',
    950: '#000000',
  },
}
SCSS
$custom: #ab334d;
$custom-light: #ca737e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab334d",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 347,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50697,
    "c": 0.15574,
    "h": 12
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#AB334D
secondary
#78C2B2
accent
#DDBE4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140909
muted
#837B7B

Preview Lab

Preview with #AB334D

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

Preview Lab → · Contrast checker → · Palette generator →

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