#AF2A36#AF2A36

#AF2A36 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 21.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF2A36
RGBrgb(175, 42, 54)
HSLhsl(355, 61%, 43%)
HSVhsv(355, 76%, 69%)
CMYKcmyk(0%, 76%, 69.1%, 31.4%)
CIE-LABlab(39.65, 53.39, 26.23)
CIE-LCHlch(39.65, 59.49, 26.17°)
OKLaboklab(50.04% 0.1571 0.0612)
OKLCHoklch(50.04% 0.169 21.3)
XYZxyz(19.1751, 11.0392, 4.6104)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A36 #2AAFA3
analogous
#AF2A79 #AF2A36 #AF602A
triadic
#AF2A36 #36AF2A #2A36AF
tetradic
#AF2A36 #79AF2A #2AAFA3 #602AAF
square
#AF2A36 #79AF2A #2AAFA3 #602AAF
split-complementary
#AF2A36 #2AAF60 #2A79AF
monochromatic
#4C1218 #7E1E27 #AF2A36 #D24451 #DE757F

Accessibility & contrast

On white

6.55
#AF2A36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2A36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A36
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A36#FFFFFF#000000##FFFFFF
##AF2A361.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B35
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a36;
/* rgb */ color: rgb(175, 42, 54);
/* oklch */ color: oklch(50.0% 0.169 21.3);
Tailwind
colors: {
  custom: {
    50: '#cf6f6d',
    500: '#af2a36',
    950: '#000000',
  },
}
SCSS
$custom: #af2a36;
$custom-light: #cf6f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a36",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 354.586,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.16861,
    "h": 21.3
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#AF2A36
secondary
#6FC6BE
accent
#E4D643
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2A36

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

Preview Lab → · Contrast checker → · Palette generator →

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