#AF313C#AF313C

#AF313C is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.162 H 20.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF313C
RGBrgb(175, 49, 60)
HSLhsl(355, 56%, 44%)
HSVhsv(355, 72%, 69%)
CMYKcmyk(0%, 72%, 65.7%, 31.4%)
CIE-LABlab(40.64, 51.25, 23.77)
CIE-LCHlch(40.64, 56.49, 24.88°)
OKLaboklab(50.81% 0.1516 0.0565)
OKLCHoklch(50.81% 0.162 20.4)
XYZxyz(19.5952, 11.6397, 5.4890)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF313C #31AFA4
analogous
#AF317B #AF313C #AF6531
triadic
#AF313C #3CAF31 #313CAF
tetradic
#AF313C #7BAF31 #31AFA4 #6531AF
square
#AF313C #7BAF31 #31AFA4 #6531AF
split-complementary
#AF313C #31AF65 #317BAF
monochromatic
#4F161B #7F242C #AF313C #CE4F5A #DB7F87

Accessibility & contrast

On white

6.31
#AF313C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF313C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF313C
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF313C#FFFFFF#000000##FFFFFF
##AF313C1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F3B
Deuteranopia (green-blind)
#746A38
Tritanopia (blue-blind)
#C00536
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af313c;
/* rgb */ color: rgb(175, 49, 60);
/* oklch */ color: oklch(50.8% 0.162 20.4);
Tailwind
colors: {
  custom: {
    50: '#ce7271',
    500: '#af313c',
    950: '#000000',
  },
}
SCSS
$custom: #af313c;
$custom-light: #ce7271;
$custom-dark: #000000;
JSON
{
  "hex": "#af313c",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 354.762,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.16173,
    "h": 20.4
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#AF313C
secondary
#78C4BD
accent
#E0D248
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF313C

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

Preview Lab → · Contrast checker → · Palette generator →

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