#AF312B#AF312B

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

Color values

HEX#AF312B
RGBrgb(175, 49, 43)
HSLhsl(3, 61%, 43%)
HSVhsv(3, 75%, 69%)
CMYKcmyk(0%, 72%, 75.4%, 31.4%)
CIE-LABlab(40.39, 50.39, 33.69)
CIE-LCHlch(40.39, 60.62, 33.76°)
OKLaboklab(50.55% 0.1452 0.0753)
OKLCHoklch(50.55% 0.164 27.4)
XYZxyz(19.2157, 11.4879, 3.4906)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF312B #2BA9AF
analogous
#AF2B67 #AF312B #AF732B
triadic
#AF312B #2BAF31 #312BAF
tetradic
#AF312B #67AF2B #2BA9AF #732BAF
square
#AF312B #67AF2B #2BA9AF #732BAF
split-complementary
#AF312B #2BAF73 #2B67AF
monochromatic
#4D1513 #7E231F #AF312B #D14C46 #DE7C77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF312B#FFFFFF#000000##FFFFFF
##AF312B1.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)
#564E29
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af312b;
/* rgb */ color: rgb(175, 49, 43);
/* oklch */ color: oklch(50.6% 0.164 27.4);
Tailwind
colors: {
  custom: {
    50: '#cf7265',
    500: '#af312b',
    950: '#000000',
  },
}
SCSS
$custom: #af312b;
$custom-light: #cf7265;
$custom-dark: #000000;
JSON
{
  "hex": "#af312b",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.727,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.1636,
    "h": 27.4
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#AF312B
secondary
#70C1C5
accent
#DCE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF312B

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

Preview Lab → · Contrast checker → · Palette generator →

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