#AF314B#AF314B

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

Color values

HEX#AF314B
RGBrgb(175, 49, 75)
HSLhsl(348, 56%, 44%)
HSVhsv(348, 72%, 69%)
CMYKcmyk(0%, 72%, 57.1%, 31.4%)
CIE-LABlab(40.93, 52.25, 14.81)
CIE-LCHlch(40.93, 54.31, 15.82°)
OKLaboklab(51.13% 0.1575 0.0369)
OKLCHoklch(51.13% 0.162 13.2)
XYZxyz(20.0494, 11.8214, 7.8813)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF314B #31AF95
analogous
#AF318A #AF314B #AF5631
triadic
#AF314B #4BAF31 #314BAF
tetradic
#AF314B #8AAF31 #31AF95 #5631AF
square
#AF314B #8AAF31 #31AF95 #5631AF
split-complementary
#AF314B #31AF56 #318AAF
monochromatic
#4F1622 #7F2437 #AF314B #CE4F69 #DB7F92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF314B#FFFFFF#000000##FFFFFF
##AF314B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504B
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#BF103C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af314b;
/* rgb */ color: rgb(175, 49, 75);
/* oklch */ color: oklch(51.1% 0.162 13.2);
Tailwind
colors: {
  custom: {
    50: '#cd737d',
    500: '#af314b',
    950: '#000000',
  },
}
SCSS
$custom: #af314b;
$custom-light: #cd737d;
$custom-dark: #000000;
JSON
{
  "hex": "#af314b",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 347.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.1618,
    "h": 13.2
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF314B

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

Preview Lab → · Contrast checker → · Palette generator →

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