#AB313F#AB313F

#AB313F is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.157 H 18.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB313F
RGBrgb(171, 49, 63)
HSLhsl(353, 55%, 43%)
HSVhsv(353, 71%, 67%)
CMYKcmyk(0%, 71.3%, 63.2%, 32.9%)
CIE-LABlab(39.94, 50.15, 20.87)
CIE-LCHlch(39.94, 54.32, 22.59°)
OKLaboklab(50.18% 0.1492 0.0503)
OKLCHoklch(50.18% 0.157 18.6)
XYZxyz(18.7920, 11.2161, 5.8771)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB313F #31AB9D
analogous
#AB317C #AB313F #AB6031
triadic
#AB313F #3FAB31 #313FAB
tetradic
#AB313F #7CAB31 #31AB9D #6031AB
square
#AB313F #7CAB31 #31AB9D #6031AB
split-complementary
#AB313F #31AB60 #317CAB
monochromatic
#4C161C #7B232D #AB313F #CC4D5C #DA7D87

Accessibility & contrast

On white

6.48
#AB313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB313F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB313F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB313F#FFFFFF#000000##FFFFFF
##AB313F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3F
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#BC0D37
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab313f;
/* rgb */ color: rgb(171, 49, 63);
/* oklch */ color: oklch(50.2% 0.157 18.6);
Tailwind
colors: {
  custom: {
    50: '#cb7273',
    500: '#ab313f',
    950: '#000000',
  },
}
SCSS
$custom: #ab313f;
$custom-light: #cb7273;
$custom-dark: #000000;
JSON
{
  "hex": "#ab313f",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 353.115,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.15744,
    "h": 18.6
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#AB313F
secondary
#75C2BA
accent
#DFCE49
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB313F

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

Preview Lab → · Contrast checker → · Palette generator →

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