#AF312C#AF312C

#AF312C is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 27.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF312C
RGBrgb(175, 49, 44)
HSLhsl(2, 60%, 43%)
HSVhsv(2, 75%, 69%)
CMYKcmyk(0%, 72%, 74.9%, 31.4%)
CIE-LABlab(40.40, 50.44, 33.12)
CIE-LCHlch(40.40, 60.34, 33.29°)
OKLaboklab(50.56% 0.1456 0.0744)
OKLCHoklch(50.56% 0.163 27.1)
XYZxyz(19.2343, 11.4953, 3.5884)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF312C #2CAAAF
analogous
#AF2C68 #AF312C #AF722C
triadic
#AF312C #2CAF31 #312CAF
tetradic
#AF312C #68AF2C #2CAAAF #722CAF
square
#AF312C #68AF2C #2CAAAF #722CAF
split-complementary
#AF312C #2CAF72 #2C68AF
monochromatic
#4D1613 #7E2320 #AF312C #D14D47 #DD7C78

Accessibility & contrast

On white

6.37
#AF312C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF312C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF312C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF312C#FFFFFF#000000##FFFFFF
##AF312C1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2A
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af312c;
/* rgb */ color: rgb(175, 49, 44);
/* oklch */ color: oklch(50.6% 0.163 27.1);
Tailwind
colors: {
  custom: {
    50: '#cf7265',
    500: '#af312c',
    950: '#000000',
  },
}
SCSS
$custom: #af312c;
$custom-light: #cf7265;
$custom-dark: #000000;
JSON
{
  "hex": "#af312c",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 2.29,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.16346,
    "h": 27.1
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#AF312C
secondary
#72C2C5
accent
#DDE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF312C

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

Preview Lab → · Contrast checker → · Palette generator →

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