#AF213C#AF213C

#AF213C is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.176 H 16.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF213C
RGBrgb(175, 33, 60)
HSLhsl(349, 68%, 41%)
HSVhsv(349, 81%, 69%)
CMYKcmyk(0%, 81.1%, 65.7%, 31.4%)
CIE-LABlab(38.78, 56.45, 21.40)
CIE-LCHlch(38.78, 60.37, 20.76°)
OKLaboklab(49.44% 0.1682 0.0511)
OKLCHoklch(49.44% 0.176 16.9)
XYZxyz(19.0408, 10.5309, 5.3042)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF213C #21AF94
analogous
#AF2183 #AF213C #AF4D21
triadic
#AF213C #3CAF21 #213CAF
tetradic
#AF213C #83AF21 #21AF94 #4D21AF
square
#AF213C #83AF21 #21AF94 #4D21AF
split-complementary
#AF213C #21AF4D #2183AF
monochromatic
#480E19 #7C172A #AF213C #D93454 #E3687F

Accessibility & contrast

On white

6.76
#AF213C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF213C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF213C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF213C#FFFFFF#000000##FFFFFF
##AF213C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C483C
Deuteranopia (green-blind)
#6F6638
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af213c;
/* rgb */ color: rgb(175, 33, 60);
/* oklch */ color: oklch(49.4% 0.176 16.9);
Tailwind
colors: {
  custom: {
    50: '#cf6c71',
    500: '#af213c',
    950: '#000000',
  },
}
SCSS
$custom: #af213c;
$custom-light: #cf6c71;
$custom-dark: #000000;
JSON
{
  "hex": "#af213c",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 348.592,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49435,
    "c": 0.17581,
    "h": 16.9
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#AF213C
secondary
#64C8B5
accent
#EBCA3D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF213C

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

Preview Lab → · Contrast checker → · Palette generator →

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