#AF2F37#AF2F37

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

Color values

HEX#AF2F37
RGBrgb(175, 47, 55)
HSLhsl(356, 58%, 44%)
HSVhsv(356, 73%, 69%)
CMYKcmyk(0%, 73.1%, 68.6%, 31.4%)
CIE-LABlab(40.29, 51.70, 26.41)
CIE-LCHlch(40.29, 58.06, 27.05°)
OKLaboklab(50.53% 0.152 0.0617)
OKLCHoklch(50.53% 0.164 22.1)
XYZxyz(19.3874, 11.4257, 4.7982)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F37 #2FAFA7
analogous
#AF2F77 #AF2F37 #AF672F
triadic
#AF2F37 #37AF2F #2F37AF
tetradic
#AF2F37 #77AF2F #2FAFA7 #672FAF
square
#AF2F37 #77AF2F #2FAFA7 #672FAF
split-complementary
#AF2F37 #2FAF67 #2F77AF
monochromatic
#4F1519 #7F2228 #AF2F37 #CF4C54 #DC7C82

Accessibility & contrast

On white

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

On black

3.28
#AF2F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2F37#FFFFFF#000000##FFFFFF
##AF2F371.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E36
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f37;
/* rgb */ color: rgb(175, 47, 55);
/* oklch */ color: oklch(50.5% 0.164 22.1);
Tailwind
colors: {
  custom: {
    50: '#cf716d',
    500: '#af2f37',
    950: '#000000',
  },
}
SCSS
$custom: #af2f37;
$custom-light: #cf716d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f37",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 55
  },
  "hsl": {
    "h": 356.25,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.16401,
    "h": 22.1
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#AF2F37
secondary
#75C4C0
accent
#E1D747
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2F37

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

Preview Lab → · Contrast checker → · Palette generator →

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