#AF2F36#AF2F36

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

Color values

HEX#AF2F36
RGBrgb(175, 47, 54)
HSLhsl(357, 58%, 44%)
HSVhsv(357, 73%, 69%)
CMYKcmyk(0%, 73.1%, 69.1%, 31.4%)
CIE-LABlab(40.27, 51.65, 27.00)
CIE-LCHlch(40.27, 58.28, 27.60°)
OKLaboklab(50.51% 0.1516 0.0629)
OKLCHoklch(50.51% 0.164 22.5)
XYZxyz(19.3637, 11.4162, 4.6733)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F36 #2FAFA8
analogous
#AF2F76 #AF2F36 #AF682F
triadic
#AF2F36 #36AF2F #2F36AF
tetradic
#AF2F36 #76AF2F #2FAFA8 #682FAF
square
#AF2F36 #76AF2F #2FAFA8 #682FAF
split-complementary
#AF2F36 #2FAF68 #2F76AF
monochromatic
#4F1518 #7F2227 #AF2F36 #CF4C53 #DC7C82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2F36#FFFFFF#000000##FFFFFF
##AF2F361.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)
#544D35
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f36;
/* rgb */ color: rgb(175, 47, 54);
/* oklch */ color: oklch(50.5% 0.164 22.5);
Tailwind
colors: {
  custom: {
    50: '#cf716d',
    500: '#af2f36',
    950: '#000000',
  },
}
SCSS
$custom: #af2f36;
$custom-light: #cf716d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f36",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 54
  },
  "hsl": {
    "h": 356.719,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.1641,
    "h": 22.5
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2F36

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

Preview Lab → · Contrast checker → · Palette generator →

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