#AF303B#AF303B

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

Color values

HEX#AF303B
RGBrgb(175, 48, 59)
HSLhsl(355, 57%, 44%)
HSVhsv(355, 73%, 69%)
CMYKcmyk(0%, 72.6%, 66.3%, 31.4%)
CIE-LABlab(40.49, 51.56, 24.19)
CIE-LCHlch(40.49, 56.95, 25.14°)
OKLaboklab(50.7% 0.1524 0.0573)
OKLCHoklch(50.7% 0.163 20.6)
XYZxyz(19.5276, 11.5465, 5.3373)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF303B #30AFA4
analogous
#AF307A #AF303B #AF6430
triadic
#AF303B #3BAF30 #303BAF
tetradic
#AF303B #7AAF30 #30AFA4 #6430AF
square
#AF303B #7AAF30 #30AFA4 #6430AF
split-complementary
#AF303B #30AF64 #307AAF
monochromatic
#4F161B #7F232B #AF303B #CE4E59 #DC7E86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF303B#FFFFFF#000000##FFFFFF
##AF303B1.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)
#534E3A
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#C00135
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af303b;
/* rgb */ color: rgb(175, 48, 59);
/* oklch */ color: oklch(50.7% 0.163 20.6);
Tailwind
colors: {
  custom: {
    50: '#ce7270',
    500: '#af303b',
    950: '#000000',
  },
}
SCSS
$custom: #af303b;
$custom-light: #ce7270;
$custom-dark: #000000;
JSON
{
  "hex": "#af303b",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 59
  },
  "hsl": {
    "h": 354.803,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50696,
    "c": 0.16277,
    "h": 20.6
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF303B

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

Preview Lab → · Contrast checker → · Palette generator →

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