#AF302A#AF302A

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

Color values

HEX#AF302A
RGBrgb(175, 48, 42)
HSLhsl(3, 61%, 43%)
HSVhsv(3, 76%, 69%)
CMYKcmyk(0%, 72.6%, 76%, 31.4%)
CIE-LABlab(40.24, 50.73, 34.11)
CIE-LCHlch(40.24, 61.13, 33.91°)
OKLaboklab(50.44% 0.1461 0.076)
OKLCHoklch(50.44% 0.165 27.5)
XYZxyz(19.1563, 11.3980, 3.3814)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF302A #2AA9AF
analogous
#AF2A66 #AF302A #AF732A
triadic
#AF302A #2AAF30 #302AAF
tetradic
#AF302A #66AF2A #2AA9AF #732AAF
square
#AF302A #66AF2A #2AA9AF #732AAF
split-complementary
#AF302A #2AAF73 #2A66AF
monochromatic
#4C1512 #7E221E #AF302A #D24A44 #DE7A75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF302A#FFFFFF#000000##FFFFFF
##AF302A1.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)
#554D28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af302a;
/* rgb */ color: rgb(175, 48, 42);
/* oklch */ color: oklch(50.4% 0.165 27.5);
Tailwind
colors: {
  custom: {
    50: '#cf7164',
    500: '#af302a',
    950: '#000000',
  },
}
SCSS
$custom: #af302a;
$custom-light: #cf7164;
$custom-dark: #000000;
JSON
{
  "hex": "#af302a",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 2.707,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.16465,
    "h": 27.5
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#AF302A
secondary
#6FC2C6
accent
#DDE443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF302A

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

Preview Lab → · Contrast checker → · Palette generator →

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