#AB334E#AB334E

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

Color values

HEX#AB334E
RGBrgb(171, 51, 78)
HSLhsl(347, 54%, 44%)
HSVhsv(347, 70%, 67%)
CMYKcmyk(0%, 70.2%, 54.4%, 32.9%)
CIE-LABlab(40.54, 50.47, 12.26)
CIE-LCHlch(40.54, 51.94, 13.66°)
OKLaboklab(50.72% 0.1527 0.031)
OKLCHoklch(50.72% 0.156 11.5)
XYZxyz(19.3553, 11.5783, 8.4219)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB334E #33AB90
analogous
#AB338A #AB334E #AB5433
triadic
#AB334E #4EAB33 #334EAB
tetradic
#AB334E #8AAB33 #33AB90 #5433AB
square
#AB334E #8AAB33 #33AB90 #5433AB
split-complementary
#AB334E #33AB54 #338AAB
monochromatic
#4D1723 #7C2538 #AB334E #CB506C #D97F94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB334E#FFFFFF#000000##FFFFFF
##AB334E1.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)
#51504E
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#BB1A3E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab334e;
/* rgb */ color: rgb(171, 51, 78);
/* oklch */ color: oklch(50.7% 0.156 11.5);
Tailwind
colors: {
  custom: {
    50: '#ca737f',
    500: '#ab334e',
    950: '#000000',
  },
}
SCSS
$custom: #ab334e;
$custom-light: #ca737f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab334e",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 346.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.15583,
    "h": 11.5
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB334E

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

Preview Lab → · Contrast checker → · Palette generator →

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