#AF313E#AF313E

#AF313E is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.162 H 19.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF313E
RGBrgb(175, 49, 62)
HSLhsl(354, 56%, 44%)
HSVhsv(354, 72%, 69%)
CMYKcmyk(0%, 72%, 64.6%, 31.4%)
CIE-LABlab(40.67, 51.37, 22.58)
CIE-LCHlch(40.67, 56.11, 23.73°)
OKLaboklab(50.85% 0.1524 0.054)
OKLCHoklch(50.85% 0.162 19.5)
XYZxyz(19.6491, 11.6612, 5.7727)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF313E #31AFA2
analogous
#AF317D #AF313E #AF6331
triadic
#AF313E #3EAF31 #313EAF
tetradic
#AF313E #7DAF31 #31AFA2 #6331AF
square
#AF313E #7DAF31 #31AFA2 #6331AF
split-complementary
#AF313E #31AF63 #317DAF
monochromatic
#4F161C #7F242D #AF313E #CE4F5C #DB7F89

Accessibility & contrast

On white

6.30
#AF313E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF313E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF313E#FFFFFF#000000##FFFFFF
##AF313E1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F3E
Deuteranopia (green-blind)
#736A3A
Tritanopia (blue-blind)
#C00737
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af313e;
/* rgb */ color: rgb(175, 49, 62);
/* oklch */ color: oklch(50.9% 0.162 19.5);
Tailwind
colors: {
  custom: {
    50: '#ce7273',
    500: '#af313e',
    950: '#000000',
  },
}
SCSS
$custom: #af313e;
$custom-light: #ce7273;
$custom-dark: #000000;
JSON
{
  "hex": "#af313e",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 353.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.16163,
    "h": 19.5
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#AF313E
secondary
#78C4BC
accent
#E0D048
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF313E

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

Preview Lab → · Contrast checker → · Palette generator →

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