#AF2F35#AF2F35

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

Color values

HEX#AF2F35
RGBrgb(175, 47, 53)
HSLhsl(357, 58%, 44%)
HSVhsv(357, 73%, 69%)
CMYKcmyk(0%, 73.1%, 69.7%, 31.4%)
CIE-LABlab(40.26, 51.60, 27.59)
CIE-LCHlch(40.26, 58.51, 28.13°)
OKLaboklab(50.5% 0.1512 0.064)
OKLCHoklch(50.5% 0.164 22.9)
XYZxyz(19.3404, 11.4069, 4.5508)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F35 #2FAFA9
analogous
#AF2F75 #AF2F35 #AF692F
triadic
#AF2F35 #35AF2F #2F35AF
tetradic
#AF2F35 #75AF2F #2FAFA9 #692FAF
square
#AF2F35 #75AF2F #2FAFA9 #692FAF
split-complementary
#AF2F35 #2FAF69 #2F75AF
monochromatic
#4F1518 #7F2226 #AF2F35 #CF4C52 #DC7C81

Accessibility & contrast

On white

6.40
#AF2F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F35
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F35#FFFFFF#000000##FFFFFF
##AF2F351.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D34
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f35;
/* rgb */ color: rgb(175, 47, 53);
/* oklch */ color: oklch(50.5% 0.164 22.9);
Tailwind
colors: {
  custom: {
    50: '#cf716c',
    500: '#af2f35',
    950: '#000000',
  },
}
SCSS
$custom: #af2f35;
$custom-light: #cf716c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f35",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 357.188,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.16419,
    "h": 22.9
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#AF2F35
secondary
#75C4C1
accent
#E1DA47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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