#AF203B#AF203B

#AF203B is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.177 H 17.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AF203B
RGBrgb(175, 32, 59)
HSLhsl(349, 69%, 41%)
HSVhsv(349, 82%, 69%)
CMYKcmyk(0%, 81.7%, 66.3%, 31.4%)
CIE-LABlab(38.67, 56.66, 21.89)
CIE-LCHlch(38.67, 60.74, 21.12°)
OKLaboklab(49.35% 0.1687 0.0521)
OKLCHoklch(49.35% 0.177 17.2)
XYZxyz(18.9872, 10.4657, 5.1571)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF203B #20AF94
analogous
#AF2082 #AF203B #AF4C20
triadic
#AF203B #3BAF20 #203BAF
tetradic
#AF203B #82AF20 #20AF94 #4C20AF
square
#AF203B #82AF20 #20AF94 #4C20AF
split-complementary
#AF203B #20AF4C #2082AF
monochromatic
#480D18 #7B172A #AF203B #DA3352 #E3667E

Accessibility & contrast

On white

6.79
#AF203B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AF203B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF203B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF203B#FFFFFF#000000##FFFFFF
##AF203B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C483B
Deuteranopia (green-blind)
#6F6637
Tritanopia (blue-blind)
#C0002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af203b;
/* rgb */ color: rgb(175, 32, 59);
/* oklch */ color: oklch(49.3% 0.177 17.2);
Tailwind
colors: {
  custom: {
    50: '#cf6b70',
    500: '#af203b',
    950: '#000000',
  },
}
SCSS
$custom: #af203b;
$custom-light: #cf6b70;
$custom-dark: #000000;
JSON
{
  "hex": "#af203b",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 59
  },
  "hsl": {
    "h": 348.671,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.17655,
    "h": 17.2
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#AF203B
secondary
#62C8B5
accent
#ECCB3C
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF203B

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

Preview Lab → · Contrast checker → · Palette generator →

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