#AF312F#AF312F

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

Color values

HEX#AF312F
RGBrgb(175, 49, 47)
HSLhsl(1, 58%, 44%)
HSVhsv(1, 73%, 69%)
CMYKcmyk(0%, 72%, 73.1%, 31.4%)
CIE-LABlab(40.44, 50.57, 31.41)
CIE-LCHlch(40.44, 59.53, 31.84°)
OKLaboklab(50.6% 0.1466 0.0713)
OKLCHoklch(50.6% 0.163 25.9)
XYZxyz(19.2928, 11.5187, 3.8962)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF312F #2FADAF
analogous
#AF2F6D #AF312F #AF712F
triadic
#AF312F #2FAF31 #312FAF
tetradic
#AF312F #6DAF2F #2FADAF #712FAF
square
#AF312F #6DAF2F #2FADAF #712FAF
split-complementary
#AF312F #2FAF71 #2F6DAF
monochromatic
#4F1615 #7F2322 #AF312F #CF4E4C #DC7E7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF312F#FFFFFF#000000##FFFFFF
##AF312F1.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)
#554E2D
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af312f;
/* rgb */ color: rgb(175, 49, 47);
/* oklch */ color: oklch(50.6% 0.163 25.9);
Tailwind
colors: {
  custom: {
    50: '#cf7268',
    500: '#af312f',
    950: '#000000',
  },
}
SCSS
$custom: #af312f;
$custom-light: #cf7268;
$custom-dark: #000000;
JSON
{
  "hex": "#af312f",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50604,
    "c": 0.16304,
    "h": 25.9
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#AF312F
secondary
#75C3C4
accent
#DEE147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF312F

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

Preview Lab → · Contrast checker → · Palette generator →

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