#AF314D#AF314D

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

Color values

HEX#AF314D
RGBrgb(175, 49, 77)
HSLhsl(347, 56%, 44%)
HSVhsv(347, 72%, 69%)
CMYKcmyk(0%, 72%, 56%, 31.4%)
CIE-LABlab(40.98, 52.40, 13.61)
CIE-LCHlch(40.98, 54.14, 14.56°)
OKLaboklab(51.18% 0.1583 0.0341)
OKLCHoklch(51.18% 0.162 12.2)
XYZxyz(20.1189, 11.8492, 8.2475)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF314D #31AF93
analogous
#AF318C #AF314D #AF5431
triadic
#AF314D #4DAF31 #314DAF
tetradic
#AF314D #8CAF31 #31AF93 #5431AF
square
#AF314D #8CAF31 #31AF93 #5431AF
split-complementary
#AF314D #31AF54 #318CAF
monochromatic
#4F1623 #7F2438 #AF314D #CE4F6B #DB7F94

Accessibility & contrast

On white

6.23
#AF314D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF314D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF314D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF314D#FFFFFF#000000##FFFFFF
##AF314D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504D
Deuteranopia (green-blind)
#726A4A
Tritanopia (blue-blind)
#BF123C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af314d;
/* rgb */ color: rgb(175, 49, 77);
/* oklch */ color: oklch(51.2% 0.162 12.2);
Tailwind
colors: {
  custom: {
    50: '#cd737e',
    500: '#af314d',
    950: '#000000',
  },
}
SCSS
$custom: #af314d;
$custom-light: #cd737e;
$custom-dark: #000000;
JSON
{
  "hex": "#af314d",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 346.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.16197,
    "h": 12.2
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#AF314D
secondary
#78C4B3
accent
#E0BE48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF314D

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

Preview Lab → · Contrast checker → · Palette generator →

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