#AF302D#AF302D

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

Color values

HEX#AF302D
RGBrgb(175, 48, 45)
HSLhsl(1, 59%, 43%)
HSVhsv(1, 74%, 69%)
CMYKcmyk(0%, 72.6%, 74.3%, 31.4%)
CIE-LABlab(40.28, 50.85, 32.40)
CIE-LCHlch(40.28, 60.30, 32.50°)
OKLaboklab(50.48% 0.1471 0.073)
OKLCHoklch(50.48% 0.164 26.4)
XYZxyz(19.2120, 11.4202, 3.6748)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF302D #2DACAF
analogous
#AF2D6B #AF302D #AF712D
triadic
#AF302D #2DAF30 #302DAF
tetradic
#AF302D #6BAF2D #2DACAF #712DAF
square
#AF302D #6BAF2D #2DACAF #712DAF
split-complementary
#AF302D #2DAF71 #2D6BAF
monochromatic
#4E1514 #7E2320 #AF302D #D04C49 #DD7C7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF302D#FFFFFF#000000##FFFFFF
##AF302D1.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)
#554D2B
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af302d;
/* rgb */ color: rgb(175, 48, 45);
/* oklch */ color: oklch(50.5% 0.164 26.4);
Tailwind
colors: {
  custom: {
    50: '#cf7166',
    500: '#af302d',
    950: '#000000',
  },
}
SCSS
$custom: #af302d;
$custom-light: #cf7166;
$custom-dark: #000000;
JSON
{
  "hex": "#af302d",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 1.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.16422,
    "h": 26.4
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#AF302D
secondary
#73C3C5
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF302D

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

Preview Lab → · Contrast checker → · Palette generator →

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