#AF312D#AF312D

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

Color values

HEX#AF312D
RGBrgb(175, 49, 45)
HSLhsl(2, 59%, 43%)
HSVhsv(2, 74%, 69%)
CMYKcmyk(0%, 72%, 74.3%, 31.4%)
CIE-LABlab(40.42, 50.48, 32.55)
CIE-LCHlch(40.42, 60.07, 32.82°)
OKLaboklab(50.58% 0.1459 0.0734)
OKLCHoklch(50.58% 0.163 26.7)
XYZxyz(19.2533, 11.5030, 3.6886)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF312D #2DABAF
analogous
#AF2D6A #AF312D #AF722D
triadic
#AF312D #2DAF31 #312DAF
tetradic
#AF312D #6AAF2D #2DABAF #722DAF
square
#AF312D #6AAF2D #2DABAF #722DAF
split-complementary
#AF312D #2DAF72 #2D6AAF
monochromatic
#4E1614 #7E2320 #AF312D #D04D49 #DD7D7A

Accessibility & contrast

On white

6.36
#AF312D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF312D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF312D#FFFFFF#000000##FFFFFF
##AF312D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af312d;
/* rgb */ color: rgb(175, 49, 45);
/* oklch */ color: oklch(50.6% 0.163 26.7);
Tailwind
colors: {
  custom: {
    50: '#cf7266',
    500: '#af312d',
    950: '#000000',
  },
}
SCSS
$custom: #af312d;
$custom-light: #cf7266;
$custom-dark: #000000;
JSON
{
  "hex": "#af312d",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.16332,
    "h": 26.7
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#AF312D
secondary
#73C2C5
accent
#DDE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF312D

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

Preview Lab → · Contrast checker → · Palette generator →

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