#AF3242#AF3242

#AF3242 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.161 H 17.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF3242
RGBrgb(175, 50, 66)
HSLhsl(352, 56%, 44%)
HSVhsv(352, 71%, 69%)
CMYKcmyk(0%, 71.4%, 62.3%, 31.4%)
CIE-LABlab(40.88, 51.24, 20.37)
CIE-LCHlch(40.88, 55.14, 21.68°)
OKLaboklab(51.03% 0.1527 0.0493)
OKLCHoklch(51.03% 0.161 17.9)
XYZxyz(19.8052, 11.7913, 6.3863)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3242 #32AF9F
analogous
#AF3281 #AF3242 #AF6132
triadic
#AF3242 #42AF32 #3242AF
tetradic
#AF3242 #81AF32 #32AF9F #6132AF
square
#AF3242 #81AF32 #32AF9F #6132AF
split-complementary
#AF3242 #32AF61 #3281AF
monochromatic
#50171E #7F2430 #AF3242 #CD5161 #DB818C

Accessibility & contrast

On white

6.25
#AF3242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF3242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3242
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3242#FFFFFF#000000##FFFFFF
##AF32421.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545042
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#C00D39
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3242;
/* rgb */ color: rgb(175, 50, 66);
/* oklch */ color: oklch(51.0% 0.161 17.9);
Tailwind
colors: {
  custom: {
    50: '#ce7376',
    500: '#af3242',
    950: '#000000',
  },
}
SCSS
$custom: #af3242;
$custom-light: #ce7376;
$custom-dark: #000000;
JSON
{
  "hex": "#af3242",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 66
  },
  "hsl": {
    "h": 352.32,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.1605,
    "h": 17.9
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#AF3242
secondary
#79C4BA
accent
#DFCC49
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3242

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

Preview Lab → · Contrast checker → · Palette generator →

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