#AF2A33#AF2A33

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

Color values

HEX#AF2A33
RGBrgb(175, 42, 51)
HSLhsl(356, 61%, 43%)
HSVhsv(356, 76%, 69%)
CMYKcmyk(0%, 76%, 70.9%, 31.4%)
CIE-LABlab(39.60, 53.24, 28.02)
CIE-LCHlch(39.60, 60.16, 27.75°)
OKLaboklab(50% 0.156 0.0646)
OKLCHoklch(50% 0.169 22.5)
XYZxyz(19.1069, 11.0118, 4.2508)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A33 #2AAFA6
analogous
#AF2A75 #AF2A33 #AF642A
triadic
#AF2A33 #33AF2A #2A33AF
tetradic
#AF2A33 #75AF2A #2AAFA6 #642AAF
square
#AF2A33 #75AF2A #2AAFA6 #642AAF
split-complementary
#AF2A33 #2AAF64 #2A75AF
monochromatic
#4C1216 #7E1E25 #AF2A33 #D2444E #DE757C

Accessibility & contrast

On white

6.56
#AF2A33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF2A33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A33
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A33#FFFFFF#000000##FFFFFF
##AF2A331.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B32
Deuteranopia (green-blind)
#72682F
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a33;
/* rgb */ color: rgb(175, 42, 51);
/* oklch */ color: oklch(50.0% 0.169 22.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f6a',
    500: '#af2a33',
    950: '#000000',
  },
}
SCSS
$custom: #af2a33;
$custom-light: #cf6f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a33",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 51
  },
  "hsl": {
    "h": 355.94,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.16884,
    "h": 22.5
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#AF2A33
secondary
#6FC6C0
accent
#E4DA43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2A33

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

Preview Lab → · Contrast checker → · Palette generator →

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