#AF2F39#AF2F39

#AF2F39 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.164 H 21.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2F39
RGBrgb(175, 47, 57)
HSLhsl(355, 58%, 44%)
HSVhsv(355, 73%, 69%)
CMYKcmyk(0%, 73.1%, 67.4%, 31.4%)
CIE-LABlab(40.32, 51.81, 25.22)
CIE-LCHlch(40.32, 57.63, 25.95°)
OKLaboklab(50.56% 0.1527 0.0593)
OKLCHoklch(50.56% 0.164 21.2)
XYZxyz(19.4363, 11.4453, 5.0558)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F39 #2FAFA5
analogous
#AF2F79 #AF2F39 #AF652F
triadic
#AF2F39 #39AF2F #2F39AF
tetradic
#AF2F39 #79AF2F #2FAFA5 #652FAF
square
#AF2F39 #79AF2F #2FAFA5 #652FAF
split-complementary
#AF2F39 #2FAF65 #2F79AF
monochromatic
#4F151A #7F2229 #AF2F39 #CF4C56 #DC7C84

Accessibility & contrast

On white

6.39
#AF2F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F39
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F39#FFFFFF#000000##FFFFFF
##AF2F391.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E38
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f39;
/* rgb */ color: rgb(175, 47, 57);
/* oklch */ color: oklch(50.6% 0.164 21.2);
Tailwind
colors: {
  custom: {
    50: '#ce716f',
    500: '#af2f39',
    950: '#000000',
  },
}
SCSS
$custom: #af2f39;
$custom-light: #ce716f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f39",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 57
  },
  "hsl": {
    "h": 355.313,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.16386,
    "h": 21.2
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#AF2F39
secondary
#75C4BE
accent
#E1D547
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2F39

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

Preview Lab → · Contrast checker → · Palette generator →

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