#AF303A#AF303A

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

Color values

HEX#AF303A
RGBrgb(175, 48, 58)
HSLhsl(355, 57%, 44%)
HSVhsv(355, 73%, 69%)
CMYKcmyk(0%, 72.6%, 66.9%, 31.4%)
CIE-LABlab(40.47, 51.50, 24.79)
CIE-LCHlch(40.47, 57.16, 25.70°)
OKLaboklab(50.68% 0.152 0.0585)
OKLCHoklch(50.68% 0.163 21.1)
XYZxyz(19.5020, 11.5362, 5.2020)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF303A #30AFA5
analogous
#AF3079 #AF303A #AF6530
triadic
#AF303A #3AAF30 #303AAF
tetradic
#AF303A #79AF30 #30AFA5 #6530AF
square
#AF303A #79AF30 #30AFA5 #6530AF
split-complementary
#AF303A #30AF65 #3079AF
monochromatic
#4F161A #7F232A #AF303A #CE4E58 #DC7E85

Accessibility & contrast

On white

6.35
#AF303A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF303A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF303A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF303A#FFFFFF#000000##FFFFFF
##AF303A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E39
Deuteranopia (green-blind)
#746936
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af303a;
/* rgb */ color: rgb(175, 48, 58);
/* oklch */ color: oklch(50.7% 0.163 21.1);
Tailwind
colors: {
  custom: {
    50: '#ce7270',
    500: '#af303a',
    950: '#000000',
  },
}
SCSS
$custom: #af303a;
$custom-light: #ce7270;
$custom-dark: #000000;
JSON
{
  "hex": "#af303a",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 355.276,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.16284,
    "h": 21.1
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#AF303A
secondary
#76C4BE
accent
#E0D448
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF303A

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

Preview Lab → · Contrast checker → · Palette generator →

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