#AF2F32#AF2F32

#AF2F32 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 24.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF2F32
RGBrgb(175, 47, 50)
HSLhsl(359, 58%, 44%)
HSVhsv(359, 73%, 69%)
CMYKcmyk(0%, 73.1%, 71.4%, 31.4%)
CIE-LABlab(40.21, 51.45, 29.35)
CIE-LCHlch(40.21, 59.23, 29.70°)
OKLaboklab(50.45% 0.1501 0.0674)
OKLCHoklch(50.45% 0.165 24.2)
XYZxyz(19.2736, 11.3802, 4.1987)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F32 #2FAFAC
analogous
#AF2F72 #AF2F32 #AF6C2F
triadic
#AF2F32 #32AF2F #2F32AF
tetradic
#AF2F32 #72AF2F #2FAFAC #6C2FAF
square
#AF2F32 #72AF2F #2FAFAC #6C2FAF
split-complementary
#AF2F32 #2FAF6C #2F72AF
monochromatic
#4F1516 #7F2224 #AF2F32 #CF4C4F #DC7C7F

Accessibility & contrast

On white

6.41
#AF2F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F32
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F32#FFFFFF#000000##FFFFFF
##AF2F321.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D31
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f32;
/* rgb */ color: rgb(175, 47, 50);
/* oklch */ color: oklch(50.4% 0.165 24.2);
Tailwind
colors: {
  custom: {
    50: '#cf716a',
    500: '#af2f32',
    950: '#000000',
  },
}
SCSS
$custom: #af2f32;
$custom-light: #cf716a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f32",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 50
  },
  "hsl": {
    "h": 358.594,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.1645,
    "h": 24.2
  },
  "luminance": 0.11377
}

Semantic roles & 50–950 ramp

primary
#AF2F32
secondary
#75C4C3
accent
#E1DD47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F32

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

Preview Lab → · Contrast checker → · Palette generator →

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