#AF213E#AF213E

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

Color values

HEX#AF213E
RGBrgb(175, 33, 62)
HSLhsl(348, 68%, 41%)
HSVhsv(348, 81%, 69%)
CMYKcmyk(0%, 81.1%, 64.6%, 31.4%)
CIE-LABlab(38.82, 56.56, 20.19)
CIE-LCHlch(38.82, 60.06, 19.64°)
OKLaboklab(49.48% 0.169 0.0485)
OKLCHoklch(49.48% 0.176 16)
XYZxyz(19.0946, 10.5524, 5.5879)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF213E #21AF92
analogous
#AF2185 #AF213E #AF4B21
triadic
#AF213E #3EAF21 #213EAF
tetradic
#AF213E #85AF21 #21AF92 #4B21AF
square
#AF213E #85AF21 #21AF92 #4B21AF
split-complementary
#AF213E #21AF4B #2185AF
monochromatic
#480E1A #7C172C #AF213E #D93456 #E36881

Accessibility & contrast

On white

6.75
#AF213E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF213E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF213E#FFFFFF#000000##FFFFFF
##AF213E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C493E
Deuteranopia (green-blind)
#6F663A
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af213e;
/* rgb */ color: rgb(175, 33, 62);
/* oklch */ color: oklch(49.5% 0.176 16.0);
Tailwind
colors: {
  custom: {
    50: '#cf6c73',
    500: '#af213e',
    950: '#000000',
  },
}
SCSS
$custom: #af213e;
$custom-light: #cf6c73;
$custom-dark: #000000;
JSON
{
  "hex": "#af213e",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 347.746,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.17584,
    "h": 16
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#AF213E
secondary
#64C8B4
accent
#EBC73D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF213E

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

Preview Lab → · Contrast checker → · Palette generator →

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