#AB334C#AB334C

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

Color values

HEX#AB334C
RGBrgb(171, 51, 76)
HSLhsl(348, 54%, 44%)
HSVhsv(348, 70%, 67%)
CMYKcmyk(0%, 70.2%, 55.6%, 32.9%)
CIE-LABlab(40.49, 50.31, 13.46)
CIE-LCHlch(40.49, 52.08, 14.98°)
OKLaboklab(50.67% 0.1519 0.0338)
OKLCHoklch(50.67% 0.156 12.5)
XYZxyz(19.2847, 11.5500, 8.0500)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB334C #33AB92
analogous
#AB3388 #AB334C #AB5633
triadic
#AB334C #4CAB33 #334CAB
tetradic
#AB334C #88AB33 #33AB92 #5633AB
square
#AB334C #88AB33 #33AB92 #5633AB
split-complementary
#AB334C #33AB56 #3388AB
monochromatic
#4D1722 #7C2537 #AB334C #CB506A #D97F92

Accessibility & contrast

On white

6.35
#AB334C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB334C
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB334C#FFFFFF#000000##FFFFFF
##AB334C1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504C
Deuteranopia (green-blind)
#706849
Tritanopia (blue-blind)
#BB193D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab334c;
/* rgb */ color: rgb(171, 51, 76);
/* oklch */ color: oklch(50.7% 0.156 12.5);
Tailwind
colors: {
  custom: {
    50: '#ca737d',
    500: '#ab334c',
    950: '#000000',
  },
}
SCSS
$custom: #ab334c;
$custom-light: #ca737d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab334c",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 347.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50672,
    "c": 0.15564,
    "h": 12.5
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#AB334C
secondary
#78C2B3
accent
#DDBF4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140909
muted
#837B7B

Preview Lab

Preview with #AB334C

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

Preview Lab → · Contrast checker → · Palette generator →

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