#AF303C#AF303C

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

Color values

HEX#AF303C
RGBrgb(175, 48, 60)
HSLhsl(354, 57%, 44%)
HSVhsv(354, 73%, 69%)
CMYKcmyk(0%, 72.6%, 65.7%, 31.4%)
CIE-LABlab(40.50, 51.62, 23.60)
CIE-LCHlch(40.50, 56.76, 24.57°)
OKLaboklab(50.71% 0.1527 0.0561)
OKLCHoklch(50.71% 0.163 20.2)
XYZxyz(19.5538, 11.5570, 5.4752)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF303C #30AFA3
analogous
#AF307B #AF303C #AF6330
triadic
#AF303C #3CAF30 #303CAF
tetradic
#AF303C #7BAF30 #30AFA3 #6330AF
square
#AF303C #7BAF30 #30AFA3 #6330AF
split-complementary
#AF303C #30AF63 #307BAF
monochromatic
#4F161B #7F232C #AF303C #CE4E5A #DC7E87

Accessibility & contrast

On white

6.34
#AF303C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF303C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF303C#FFFFFF#000000##FFFFFF
##AF303C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3B
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#C00235
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af303c;
/* rgb */ color: rgb(175, 48, 60);
/* oklch */ color: oklch(50.7% 0.163 20.2);
Tailwind
colors: {
  custom: {
    50: '#ce7271',
    500: '#af303c',
    950: '#000000',
  },
}
SCSS
$custom: #af303c;
$custom-light: #ce7271;
$custom-dark: #000000;
JSON
{
  "hex": "#af303c",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 60
  },
  "hsl": {
    "h": 354.331,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50714,
    "c": 0.16271,
    "h": 20.2
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#AF303C
secondary
#76C4BD
accent
#E0D248
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF303C

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

Preview Lab → · Contrast checker → · Palette generator →

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