#AB314F#AB314F

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

Color values

HEX#AB314F
RGBrgb(171, 49, 79)
HSLhsl(345, 55%, 43%)
HSVhsv(345, 71%, 67%)
CMYKcmyk(0%, 71.3%, 53.8%, 32.9%)
CIE-LABlab(40.28, 51.32, 11.28)
CIE-LCHlch(40.28, 52.55, 12.40°)
OKLaboklab(50.54% 0.1556 0.0287)
OKLCHoklch(50.54% 0.158 10.4)
XYZxyz(19.3059, 11.4217, 8.5836)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB314F #31AB8D
analogous
#AB318C #AB314F #AB5031
triadic
#AB314F #4FAB31 #314FAB
tetradic
#AB314F #8CAB31 #31AB8D #5031AB
square
#AB314F #8CAB31 #31AB8D #5031AB
split-complementary
#AB314F #31AB50 #318CAB
monochromatic
#4C1623 #7B2339 #AB314F #CC4D6C #DA7D94

Accessibility & contrast

On white

6.40
#AB314F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB314F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB314F#FFFFFF#000000##FFFFFF
##AB314F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#6F684C
Tritanopia (blue-blind)
#BB163D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab314f;
/* rgb */ color: rgb(171, 49, 79);
/* oklch */ color: oklch(50.5% 0.158 10.4);
Tailwind
colors: {
  custom: {
    50: '#ca7280',
    500: '#ab314f',
    950: '#000000',
  },
}
SCSS
$custom: #ab314f;
$custom-light: #ca7280;
$custom-dark: #000000;
JSON
{
  "hex": "#ab314f",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 345.246,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.15821,
    "h": 10.4
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#AB314F
secondary
#75C2AF
accent
#DFBA49
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB314F

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

Preview Lab → · Contrast checker → · Palette generator →

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