#AF312E#AF312E

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

Color values

HEX#AF312E
RGBrgb(175, 49, 46)
HSLhsl(1, 58%, 43%)
HSVhsv(1, 74%, 69%)
CMYKcmyk(0%, 72%, 73.7%, 31.4%)
CIE-LABlab(40.43, 50.52, 31.98)
CIE-LCHlch(40.43, 59.79, 32.33°)
OKLaboklab(50.59% 0.1463 0.0723)
OKLCHoklch(50.59% 0.163 26.3)
XYZxyz(19.2728, 11.5108, 3.7912)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF312E #2EACAF
analogous
#AF2E6B #AF312E #AF712E
triadic
#AF312E #2EAF31 #312EAF
tetradic
#AF312E #6BAF2E #2EACAF #712EAF
square
#AF312E #6BAF2E #2EACAF #712EAF
split-complementary
#AF312E #2EAF71 #2E6BAF
monochromatic
#4E1615 #7F2321 #AF312E #D04E4B #DC7D7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF312E#FFFFFF#000000##FFFFFF
##AF312E1.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)
#564E2C
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af312e;
/* rgb */ color: rgb(175, 49, 46);
/* oklch */ color: oklch(50.6% 0.163 26.3);
Tailwind
colors: {
  custom: {
    50: '#cf7267',
    500: '#af312e',
    950: '#000000',
  },
}
SCSS
$custom: #af312e;
$custom-light: #cf7267;
$custom-dark: #000000;
JSON
{
  "hex": "#af312e",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.395,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.16317,
    "h": 26.3
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#AF312E
secondary
#74C3C5
accent
#DEE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF312E

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

Preview Lab → · Contrast checker → · Palette generator →

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