#AB334B#AB334B

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

Color values

HEX#AB334B
RGBrgb(171, 51, 75)
HSLhsl(348, 54%, 44%)
HSVhsv(348, 70%, 67%)
CMYKcmyk(0%, 70.2%, 56.1%, 32.9%)
CIE-LABlab(40.47, 50.23, 14.06)
CIE-LCHlch(40.47, 52.16, 15.63°)
OKLaboklab(50.65% 0.1515 0.0352)
OKLCHoklch(50.65% 0.156 13.1)
XYZxyz(19.2502, 11.5362, 7.8683)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB334B #33AB93
analogous
#AB3387 #AB334B #AB5733
triadic
#AB334B #4BAB33 #334BAB
tetradic
#AB334B #87AB33 #33AB93 #5733AB
square
#AB334B #87AB33 #33AB93 #5733AB
split-complementary
#AB334B #33AB57 #3387AB
monochromatic
#4D1722 #7C2536 #AB334B #CB5069 #D97F91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB334B#FFFFFF#000000##FFFFFF
##AB334B1.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)
#51504B
Deuteranopia (green-blind)
#706848
Tritanopia (blue-blind)
#BB183D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab334b;
/* rgb */ color: rgb(171, 51, 75);
/* oklch */ color: oklch(50.6% 0.156 13.1);
Tailwind
colors: {
  custom: {
    50: '#ca737d',
    500: '#ab334b',
    950: '#000000',
  },
}
SCSS
$custom: #ab334b;
$custom-light: #ca737d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab334b",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 75
  },
  "hsl": {
    "h": 348,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.15556,
    "h": 13.1
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB334B

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

Preview Lab → · Contrast checker → · Palette generator →

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