#AF314F#AF314F

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

Color values

HEX#AF314F
RGBrgb(175, 49, 79)
HSLhsl(346, 56%, 44%)
HSVhsv(346, 72%, 69%)
CMYKcmyk(0%, 72%, 54.9%, 31.4%)
CIE-LABlab(41.02, 52.55, 12.42)
CIE-LCHlch(41.02, 54.00, 13.29°)
OKLaboklab(51.22% 0.1591 0.0314)
OKLCHoklch(51.22% 0.162 11.1)
XYZxyz(20.1906, 11.8779, 8.6251)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF314F #31AF91
analogous
#AF318E #AF314F #AF5231
triadic
#AF314F #4FAF31 #314FAF
tetradic
#AF314F #8EAF31 #31AF91 #5231AF
square
#AF314F #8EAF31 #31AF91 #5231AF
split-complementary
#AF314F #31AF52 #318EAF
monochromatic
#4F1624 #7F2439 #AF314F #CE4F6D #DB7F95

Accessibility & contrast

On white

6.22
#AF314F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF314F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF314F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF314F#FFFFFF#000000##FFFFFF
##AF314F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504F
Deuteranopia (green-blind)
#716A4C
Tritanopia (blue-blind)
#BF133D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af314f;
/* rgb */ color: rgb(175, 49, 79);
/* oklch */ color: oklch(51.2% 0.162 11.1);
Tailwind
colors: {
  custom: {
    50: '#cd7380',
    500: '#af314f',
    950: '#000000',
  },
}
SCSS
$custom: #af314f;
$custom-light: #cd7380;
$custom-dark: #000000;
JSON
{
  "hex": "#af314f",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 345.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.16218,
    "h": 11.1
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#AF314F
secondary
#78C4B2
accent
#E0BC48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF314F

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

Preview Lab → · Contrast checker → · Palette generator →

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