#AF212B#AF212B

#AF212B is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.177 H 23.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF212B
RGBrgb(175, 33, 43)
HSLhsl(356, 68%, 41%)
HSVhsv(356, 81%, 69%)
CMYKcmyk(0%, 81.1%, 75.4%, 31.4%)
CIE-LABlab(38.51, 55.63, 31.60)
CIE-LCHlch(38.51, 63.98, 29.60°)
OKLaboklab(49.16% 0.1618 0.0708)
OKLCHoklch(49.16% 0.177 23.6)
XYZxyz(18.6613, 10.3791, 3.3058)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF212B #21AFA5
analogous
#AF2172 #AF212B #AF5E21
triadic
#AF212B #2BAF21 #212BAF
tetradic
#AF212B #72AF21 #21AFA5 #5E21AF
square
#AF212B #72AF21 #21AFA5 #5E21AF
split-complementary
#AF212B #21AF5E #2172AF
monochromatic
#480E12 #7C171E #AF212B #D93440 #E36871

Accessibility & contrast

On white

6.83
#AF212B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AF212B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF212B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF212B#FFFFFF#000000##FFFFFF
##AF212B1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472A
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af212b;
/* rgb */ color: rgb(175, 33, 43);
/* oklch */ color: oklch(49.2% 0.177 23.6);
Tailwind
colors: {
  custom: {
    50: '#d06b64',
    500: '#af212b',
    950: '#000000',
  },
}
SCSS
$custom: #af212b;
$custom-light: #d06b64;
$custom-dark: #000000;
JSON
{
  "hex": "#af212b",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 43
  },
  "hsl": {
    "h": 355.775,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.1766,
    "h": 23.6
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#AF212B
secondary
#64C8C1
accent
#EBDF3D
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A

Preview Lab

Preview with #AF212B

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

Preview Lab → · Contrast checker → · Palette generator →

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