#AF2A3A#AF2A3A

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

Color values

HEX#AF2A3A
RGBrgb(175, 42, 58)
HSLhsl(353, 61%, 43%)
HSVhsv(353, 76%, 69%)
CMYKcmyk(0%, 76%, 66.9%, 31.4%)
CIE-LABlab(39.71, 53.61, 23.84)
CIE-LCHlch(39.71, 58.67, 23.98°)
OKLaboklab(50.11% 0.1587 0.0564)
OKLCHoklch(50.11% 0.168 19.6)
XYZxyz(19.2730, 11.0783, 5.1257)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A3A #2AAF9F
analogous
#AF2A7C #AF2A3A #AF5D2A
triadic
#AF2A3A #3AAF2A #2A3AAF
tetradic
#AF2A3A #7CAF2A #2AAF9F #5D2AAF
square
#AF2A3A #7CAF2A #2AAF9F #5D2AAF
split-complementary
#AF2A3A #2AAF5D #2A7CAF
monochromatic
#4C1219 #7E1E2A #AF2A3A #D24455 #DE7582

Accessibility & contrast

On white

6.53
#AF2A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A3A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A3A#FFFFFF#000000##FFFFFF
##AF2A3A1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3A
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a3a;
/* rgb */ color: rgb(175, 42, 58);
/* oklch */ color: oklch(50.1% 0.168 19.6);
Tailwind
colors: {
  custom: {
    50: '#cf6f70',
    500: '#af2a3a',
    950: '#000000',
  },
}
SCSS
$custom: #af2a3a;
$custom-light: #cf6f70;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a3a",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 352.782,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.1684,
    "h": 19.6
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#AF2A3A
secondary
#6FC6BB
accent
#E4D143
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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