#AF314A#AF314A

#AF314A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.162 H 13.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF314A
RGBrgb(175, 49, 74)
HSLhsl(348, 56%, 44%)
HSVhsv(348, 72%, 69%)
CMYKcmyk(0%, 72%, 57.7%, 31.4%)
CIE-LABlab(40.91, 52.17, 15.40)
CIE-LCHlch(40.91, 54.40, 16.45°)
OKLaboklab(51.1% 0.1571 0.0383)
OKLCHoklch(51.1% 0.162 13.7)
XYZxyz(20.0155, 11.8078, 7.7024)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF314A #31AF96
analogous
#AF3189 #AF314A #AF5731
triadic
#AF314A #4AAF31 #314AAF
tetradic
#AF314A #89AF31 #31AF96 #5731AF
square
#AF314A #89AF31 #31AF96 #5731AF
split-complementary
#AF314A #31AF57 #3189AF
monochromatic
#4F1622 #7F2436 #AF314A #CE4F68 #DB7F91

Accessibility & contrast

On white

6.25
#AF314A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF314A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF314A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF314A#FFFFFF#000000##FFFFFF
##AF314A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52504A
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#BF103B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af314a;
/* rgb */ color: rgb(175, 49, 74);
/* oklch */ color: oklch(51.1% 0.162 13.7);
Tailwind
colors: {
  custom: {
    50: '#cd737c',
    500: '#af314a',
    950: '#000000',
  },
}
SCSS
$custom: #af314a;
$custom-light: #cd737c;
$custom-dark: #000000;
JSON
{
  "hex": "#af314a",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 348.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.16173,
    "h": 13.7
  },
  "luminance": 0.11805
}

Semantic roles & 50–950 ramp

primary
#AF314A
secondary
#78C4B5
accent
#E0C248
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF314A

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

Preview Lab → · Contrast checker → · Palette generator →

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