#AB314C#AB314C

#AB314C is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.158 H 12.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AB314C
RGBrgb(171, 49, 76)
HSLhsl(347, 55%, 43%)
HSVhsv(347, 71%, 67%)
CMYKcmyk(0%, 71.3%, 55.6%, 32.9%)
CIE-LABlab(40.21, 51.08, 13.07)
CIE-LCHlch(40.21, 52.73, 14.36°)
OKLaboklab(50.46% 0.1544 0.0329)
OKLCHoklch(50.46% 0.158 12)
XYZxyz(19.1992, 11.3790, 8.0215)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB314C #31AB90
analogous
#AB3189 #AB314C #AB5331
triadic
#AB314C #4CAB31 #314CAB
tetradic
#AB314C #89AB31 #31AB90 #5331AB
square
#AB314C #89AB31 #31AB90 #5331AB
split-complementary
#AB314C #31AB53 #3189AB
monochromatic
#4C1622 #7B2337 #AB314C #CC4D69 #DA7D91

Accessibility & contrast

On white

6.41
#AB314C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB314C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB314C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB314C#FFFFFF#000000##FFFFFF
##AB314C1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#BB153C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab314c;
/* rgb */ color: rgb(171, 49, 76);
/* oklch */ color: oklch(50.5% 0.158 12.0);
Tailwind
colors: {
  custom: {
    50: '#ca727d',
    500: '#ab314c',
    950: '#000000',
  },
}
SCSS
$custom: #ab314c;
$custom-light: #ca727d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab314c",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 346.721,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.15786,
    "h": 12
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#AB314C
secondary
#75C2B1
accent
#DFBE49
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB314C

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

Preview Lab → · Contrast checker → · Palette generator →

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