#AB334F#AB334F

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

Color values

HEX#AB334F
RGBrgb(171, 51, 79)
HSLhsl(346, 54%, 44%)
HSVhsv(346, 70%, 67%)
CMYKcmyk(0%, 70.2%, 53.8%, 32.9%)
CIE-LABlab(40.56, 50.55, 11.67)
CIE-LCHlch(40.56, 51.88, 13.00°)
OKLaboklab(50.75% 0.1531 0.0296)
OKLCHoklch(50.75% 0.156 10.9)
XYZxyz(19.3914, 11.5927, 8.6121)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB334F #33AB8F
analogous
#AB338B #AB334F #AB5333
triadic
#AB334F #4FAB33 #334FAB
tetradic
#AB334F #8BAB33 #33AB8F #5333AB
square
#AB334F #8BAB33 #33AB8F #5333AB
split-complementary
#AB334F #33AB53 #338BAB
monochromatic
#4D1723 #7C2539 #AB334F #CB506D #D97F94

Accessibility & contrast

On white

6.33
#AB334F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB334F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB334F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB334F#FFFFFF#000000##FFFFFF
##AB334F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#6F694C
Tritanopia (blue-blind)
#BB1A3E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab334f;
/* rgb */ color: rgb(171, 51, 79);
/* oklch */ color: oklch(50.7% 0.156 10.9);
Tailwind
colors: {
  custom: {
    50: '#ca7380',
    500: '#ab334f',
    950: '#000000',
  },
}
SCSS
$custom: #ab334f;
$custom-light: #ca7380;
$custom-dark: #000000;
JSON
{
  "hex": "#ab334f",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 346,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.15595,
    "h": 10.9
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#AB334F
secondary
#78C2B1
accent
#DDBB4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AB334F

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

Preview Lab → · Contrast checker → · Palette generator →

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