#AF314C#AF314C

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

Color values

HEX#AF314C
RGBrgb(175, 49, 76)
HSLhsl(347, 56%, 44%)
HSVhsv(347, 72%, 69%)
CMYKcmyk(0%, 72%, 56.6%, 31.4%)
CIE-LABlab(40.95, 52.32, 14.21)
CIE-LCHlch(40.95, 54.22, 15.19°)
OKLaboklab(51.15% 0.1579 0.0355)
OKLCHoklch(51.15% 0.162 12.7)
XYZxyz(20.0839, 11.8352, 8.0629)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF314C #31AF94
analogous
#AF318B #AF314C #AF5531
triadic
#AF314C #4CAF31 #314CAF
tetradic
#AF314C #8BAF31 #31AF94 #5531AF
square
#AF314C #8BAF31 #31AF94 #5531AF
split-complementary
#AF314C #31AF55 #318BAF
monochromatic
#4F1622 #7F2437 #AF314C #CE4F6A #DB7F93

Accessibility & contrast

On white

6.24
#AF314C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF314C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF314C#FFFFFF#000000##FFFFFF
##AF314C1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504C
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#BF113C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af314c;
/* rgb */ color: rgb(175, 49, 76);
/* oklch */ color: oklch(51.2% 0.162 12.7);
Tailwind
colors: {
  custom: {
    50: '#cd737d',
    500: '#af314c',
    950: '#000000',
  },
}
SCSS
$custom: #af314c;
$custom-light: #cd737d;
$custom-dark: #000000;
JSON
{
  "hex": "#af314c",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 347.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51151,
    "c": 0.16189,
    "h": 12.7
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#AF314C
secondary
#78C4B4
accent
#E0BF48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF314C

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

Preview Lab → · Contrast checker → · Palette generator →

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