#AF3952#AF3952

#AF3952 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.153 H 11.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF3952
RGBrgb(175, 57, 82)
HSLhsl(347, 51%, 45%)
HSVhsv(347, 67%, 69%)
CMYKcmyk(0%, 67.4%, 53.1%, 31.4%)
CIE-LABlab(42.23, 49.66, 12.22)
CIE-LCHlch(42.23, 51.14, 13.82°)
OKLaboklab(52.15% 0.1503 0.031)
OKLCHoklch(52.15% 0.153 11.6)
XYZxyz(20.6671, 12.6521, 9.3348)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3952 #39AF96
analogous
#AF398D #AF3952 #AF5B39
triadic
#AF3952 #52AF39 #3952AF
tetradic
#AF3952 #8DAF39 #39AF96 #5B39AF
square
#AF3952 #8DAF39 #39AF96 #5B39AF
split-complementary
#AF3952 #39AF5B #398DAF
monochromatic
#531B27 #812A3C #AF3952 #CA5B73 #D98A9A

Accessibility & contrast

On white

5.95
#AF3952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF3952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3952
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3952#FFFFFF#000000##FFFFFF
##AF39521.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555452
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#BF2343
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3952;
/* rgb */ color: rgb(175, 57, 82);
/* oklch */ color: oklch(52.1% 0.153 11.6);
Tailwind
colors: {
  custom: {
    50: '#cc7782',
    500: '#af3952',
    950: '#000000',
  },
}
SCSS
$custom: #af3952;
$custom-light: #cc7782;
$custom-dark: #000000;
JSON
{
  "hex": "#af3952",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 82
  },
  "hsl": {
    "h": 347.288,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.15341,
    "h": 11.6
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#AF3952
secondary
#81C3B5
accent
#DABC4D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AF3952

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

Preview Lab → · Contrast checker → · Palette generator →

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