#AF2A39#AF2A39

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

Color values

HEX#AF2A39
RGBrgb(175, 42, 57)
HSLhsl(353, 61%, 43%)
HSVhsv(353, 76%, 69%)
CMYKcmyk(0%, 76%, 67.4%, 31.4%)
CIE-LABlab(39.70, 53.55, 24.44)
CIE-LCHlch(39.70, 58.87, 24.53°)
OKLaboklab(50.1% 0.1583 0.0576)
OKLCHoklch(50.1% 0.168 20)
XYZxyz(19.2478, 11.0682, 4.9930)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A39 #2AAFA0
analogous
#AF2A7C #AF2A39 #AF5D2A
triadic
#AF2A39 #39AF2A #2A39AF
tetradic
#AF2A39 #7CAF2A #2AAFA0 #5D2AAF
square
#AF2A39 #7CAF2A #2AAFA0 #5D2AAF
split-complementary
#AF2A39 #2AAF5D #2A7CAF
monochromatic
#4C1219 #7E1E29 #AF2A39 #D24454 #DE7581

Accessibility & contrast

On white

6.54
#AF2A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2A39
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A39#FFFFFF#000000##FFFFFF
##AF2A391.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C39
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a39;
/* rgb */ color: rgb(175, 42, 57);
/* oklch */ color: oklch(50.1% 0.168 20.0);
Tailwind
colors: {
  custom: {
    50: '#cf6f6f',
    500: '#af2a39',
    950: '#000000',
  },
}
SCSS
$custom: #af2a39;
$custom-light: #cf6f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a39",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 353.233,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.16844,
    "h": 20
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#AF2A39
secondary
#6FC6BC
accent
#E4D243
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2A39

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

Preview Lab → · Contrast checker → · Palette generator →

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