#AF302C#AF302C

#AF302C is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 26.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF302C
RGBrgb(175, 48, 44)
HSLhsl(2, 60%, 43%)
HSVhsv(2, 75%, 69%)
CMYKcmyk(0%, 72.6%, 74.9%, 31.4%)
CIE-LABlab(40.27, 50.81, 32.97)
CIE-LCHlch(40.27, 60.57, 32.98°)
OKLaboklab(50.46% 0.1468 0.074)
OKLCHoklch(50.46% 0.164 26.8)
XYZxyz(19.1930, 11.4126, 3.5746)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF302C #2CABAF
analogous
#AF2C69 #AF302C #AF712C
triadic
#AF302C #2CAF30 #302CAF
tetradic
#AF302C #69AF2C #2CABAF #712CAF
square
#AF302C #69AF2C #2CABAF #712CAF
split-complementary
#AF302C #2CAF71 #2C69AF
monochromatic
#4D1513 #7E2320 #AF302C #D14C47 #DD7B78

Accessibility & contrast

On white

6.40
#AF302C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF302C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF302C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF302C#FFFFFF#000000##FFFFFF
##AF302C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af302c;
/* rgb */ color: rgb(175, 48, 44);
/* oklch */ color: oklch(50.5% 0.164 26.8);
Tailwind
colors: {
  custom: {
    50: '#cf7165',
    500: '#af302c',
    950: '#000000',
  },
}
SCSS
$custom: #af302c;
$custom-light: #cf7165;
$custom-dark: #000000;
JSON
{
  "hex": "#af302c",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 44
  },
  "hsl": {
    "h": 1.832,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.16436,
    "h": 26.8
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#AF302C
secondary
#72C3C5
accent
#DEE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF302C

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

Preview Lab → · Contrast checker → · Palette generator →

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