#AF2037#AF2037

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

Color values

HEX#AF2037
RGBrgb(175, 32, 55)
HSLhsl(350, 69%, 41%)
HSVhsv(350, 82%, 69%)
CMYKcmyk(0%, 81.7%, 68.6%, 31.4%)
CIE-LABlab(38.60, 56.45, 24.32)
CIE-LCHlch(38.60, 61.46, 23.30°)
OKLaboklab(49.27% 0.1671 0.057)
OKLCHoklch(49.27% 0.177 18.8)
XYZxyz(18.8874, 10.4258, 4.6316)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2037 #20AF98
analogous
#AF207E #AF2037 #AF5120
triadic
#AF2037 #37AF20 #2037AF
tetradic
#AF2037 #7EAF20 #20AF98 #5120AF
square
#AF2037 #7EAF20 #20AF98 #5120AF
split-complementary
#AF2037 #20AF51 #207EAF
monochromatic
#480D16 #7B1727 #AF2037 #DA334D #E3667A

Accessibility & contrast

On white

6.81
#AF2037 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2037
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2037#FFFFFF#000000##FFFFFF
##AF20371.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4837
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2037;
/* rgb */ color: rgb(175, 32, 55);
/* oklch */ color: oklch(49.3% 0.177 18.8);
Tailwind
colors: {
  custom: {
    50: '#cf6b6d',
    500: '#af2037',
    950: '#000000',
  },
}
SCSS
$custom: #af2037;
$custom-light: #cf6b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2037",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 55
  },
  "hsl": {
    "h": 350.35,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.17659,
    "h": 18.8
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#AF2037
secondary
#62C8B8
accent
#ECD03C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF2037

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

Preview Lab → · Contrast checker → · Palette generator →

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