#AF2C31#AF2C31

#AF2C31 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.167 H 23.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2C31
RGBrgb(175, 44, 49)
HSLhsl(358, 60%, 43%)
HSVhsv(358, 75%, 69%)
CMYKcmyk(0%, 74.9%, 72%, 31.4%)
CIE-LABlab(39.82, 52.47, 29.48)
CIE-LCHlch(39.82, 60.19, 29.33°)
OKLaboklab(50.15% 0.1531 0.0675)
OKLCHoklch(50.15% 0.167 23.8)
XYZxyz(19.1364, 11.1400, 4.0477)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C31 #2CAFAA
analogous
#AF2C72 #AF2C31 #AF682C
triadic
#AF2C31 #31AF2C #2C31AF
tetradic
#AF2C31 #72AF2C #2CAFAA #682CAF
square
#AF2C31 #72AF2C #2CAFAA #682CAF
split-complementary
#AF2C31 #2CAF68 #2C72AF
monochromatic
#4D1316 #7E2023 #AF2C31 #D1474D #DD787C

Accessibility & contrast

On white

6.51
#AF2C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C31
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C31#FFFFFF#000000##FFFFFF
##AF2C311.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c31;
/* rgb */ color: rgb(175, 44, 49);
/* oklch */ color: oklch(50.1% 0.167 23.8);
Tailwind
colors: {
  custom: {
    50: '#cf7069',
    500: '#af2c31',
    950: '#000000',
  },
}
SCSS
$custom: #af2c31;
$custom-light: #cf7069;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c31",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 49
  },
  "hsl": {
    "h": 357.71,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.16729,
    "h": 23.8
  },
  "luminance": 0.11137
}

Semantic roles & 50–950 ramp

primary
#AF2C31
secondary
#72C5C2
accent
#E3DD45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2C31

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

Preview Lab → · Contrast checker → · Palette generator →

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