#AF303D#AF303D

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

Color values

HEX#AF303D
RGBrgb(175, 48, 61)
HSLhsl(354, 57%, 44%)
HSVhsv(354, 73%, 69%)
CMYKcmyk(0%, 72.6%, 65.1%, 31.4%)
CIE-LABlab(40.52, 51.68, 23.00)
CIE-LCHlch(40.52, 56.57, 23.99°)
OKLaboklab(50.73% 0.1531 0.0548)
OKLCHoklch(50.73% 0.163 19.7)
XYZxyz(19.5805, 11.5677, 5.6157)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF303D #30AFA2
analogous
#AF307C #AF303D #AF6230
triadic
#AF303D #3DAF30 #303DAF
tetradic
#AF303D #7CAF30 #30AFA2 #6230AF
square
#AF303D #7CAF30 #30AFA2 #6230AF
split-complementary
#AF303D #30AF62 #307CAF
monochromatic
#4F161C #7F232C #AF303D #CE4E5B #DC7E87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF303D#FFFFFF#000000##FFFFFF
##AF303D1.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)
#534E3D
Deuteranopia (green-blind)
#736939
Tritanopia (blue-blind)
#C00336
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af303d;
/* rgb */ color: rgb(175, 48, 61);
/* oklch */ color: oklch(50.7% 0.163 19.7);
Tailwind
colors: {
  custom: {
    50: '#ce7272',
    500: '#af303d',
    950: '#000000',
  },
}
SCSS
$custom: #af303d;
$custom-light: #ce7272;
$custom-dark: #000000;
JSON
{
  "hex": "#af303d",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 61
  },
  "hsl": {
    "h": 353.858,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50733,
    "c": 0.16266,
    "h": 19.7
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#AF303D
secondary
#76C4BC
accent
#E0D148
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF303D

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

Preview Lab → · Contrast checker → · Palette generator →

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