#AF302B#AF302B

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

Color values

HEX#AF302B
RGBrgb(175, 48, 43)
HSLhsl(2, 61%, 43%)
HSVhsv(2, 75%, 69%)
CMYKcmyk(0%, 72.6%, 75.4%, 31.4%)
CIE-LABlab(40.25, 50.77, 33.54)
CIE-LCHlch(40.25, 60.85, 33.45°)
OKLaboklab(50.45% 0.1464 0.075)
OKLCHoklch(50.45% 0.165 27.1)
XYZxyz(19.1744, 11.4052, 3.4768)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF302B #2BAAAF
analogous
#AF2B68 #AF302B #AF722B
triadic
#AF302B #2BAF30 #302BAF
tetradic
#AF302B #68AF2B #2BAAAF #722BAF
square
#AF302B #68AF2B #2BAAAF #722BAF
split-complementary
#AF302B #2BAF72 #2B68AF
monochromatic
#4D1513 #7E231F #AF302B #D14B46 #DE7B77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF302B#FFFFFF#000000##FFFFFF
##AF302B1.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)
#554D29
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af302b;
/* rgb */ color: rgb(175, 48, 43);
/* oklch */ color: oklch(50.4% 0.165 27.1);
Tailwind
colors: {
  custom: {
    50: '#cf7165',
    500: '#af302b',
    950: '#000000',
  },
}
SCSS
$custom: #af302b;
$custom-light: #cf7165;
$custom-dark: #000000;
JSON
{
  "hex": "#af302b",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 2.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.1645,
    "h": 27.1
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#AF302B
secondary
#70C2C5
accent
#DEE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF302B

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

Preview Lab → · Contrast checker → · Palette generator →

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