#AF3139#AF3139

#AF3139 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.162 H 21.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF3139
RGBrgb(175, 49, 57)
HSLhsl(356, 56%, 44%)
HSVhsv(356, 72%, 69%)
CMYKcmyk(0%, 72%, 67.4%, 31.4%)
CIE-LABlab(40.59, 51.07, 25.55)
CIE-LCHlch(40.59, 57.11, 26.58°)
OKLaboklab(50.76% 0.1504 0.0601)
OKLCHoklch(50.76% 0.162 21.8)
XYZxyz(19.5181, 11.6089, 5.0831)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3139 #31AFA7
analogous
#AF3178 #AF3139 #AF6831
triadic
#AF3139 #39AF31 #3139AF
tetradic
#AF3139 #78AF31 #31AFA7 #6831AF
square
#AF3139 #78AF31 #31AFA7 #6831AF
split-complementary
#AF3139 #31AF68 #3178AF
monochromatic
#4F161A #7F2429 #AF3139 #CE4F57 #DB7F85

Accessibility & contrast

On white

6.32
#AF3139 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF3139 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3139
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3139#FFFFFF#000000##FFFFFF
##AF31391.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F38
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#C00335
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3139;
/* rgb */ color: rgb(175, 49, 57);
/* oklch */ color: oklch(50.8% 0.162 21.8);
Tailwind
colors: {
  custom: {
    50: '#ce726f',
    500: '#af3139',
    950: '#000000',
  },
}
SCSS
$custom: #af3139;
$custom-light: #ce726f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3139",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 57
  },
  "hsl": {
    "h": 356.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.16195,
    "h": 21.8
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#AF3139
secondary
#78C4BF
accent
#E0D648
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF3139

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

Preview Lab → · Contrast checker → · Palette generator →

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