#AF2A42#AF2A42

#AF2A42 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.168 H 15.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF2A42
RGBrgb(175, 42, 66)
HSLhsl(349, 61%, 43%)
HSVhsv(349, 76%, 69%)
CMYKcmyk(0%, 76%, 62.3%, 31.4%)
CIE-LABlab(39.86, 54.09, 19.03)
CIE-LCHlch(39.86, 57.34, 19.38°)
OKLaboklab(50.27% 0.1619 0.0462)
OKLCHoklch(50.27% 0.168 15.9)
XYZxyz(19.4926, 11.1661, 6.2821)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A42 #2AAF97
analogous
#AF2A84 #AF2A42 #AF552A
triadic
#AF2A42 #42AF2A #2A42AF
tetradic
#AF2A42 #84AF2A #2AAF97 #552AAF
square
#AF2A42 #84AF2A #2AAF97 #552AAF
split-complementary
#AF2A42 #2AAF55 #2A84AF
monochromatic
#4C121D #7E1E2F #AF2A42 #D2445E #DE7588

Accessibility & contrast

On white

6.50
#AF2A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2A42
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A42#FFFFFF#000000##FFFFFF
##AF2A421.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a42;
/* rgb */ color: rgb(175, 42, 66);
/* oklch */ color: oklch(50.3% 0.168 15.9);
Tailwind
colors: {
  custom: {
    50: '#ce6f76',
    500: '#af2a42',
    950: '#000000',
  },
}
SCSS
$custom: #af2a42;
$custom-light: #ce6f76;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a42",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 349.173,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.16832,
    "h": 15.9
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#AF2A42
secondary
#6FC6B6
accent
#E4C743
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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