#AF3142#AF3142

#AF3142 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.162 H 17.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF3142
RGBrgb(175, 49, 66)
HSLhsl(352, 56%, 44%)
HSVhsv(352, 72%, 69%)
CMYKcmyk(0%, 72%, 62.3%, 31.4%)
CIE-LABlab(40.75, 51.62, 20.19)
CIE-LCHlch(40.75, 55.43, 21.36°)
OKLaboklab(50.93% 0.1539 0.0489)
OKLCHoklch(50.93% 0.162 17.6)
XYZxyz(19.7629, 11.7068, 6.3722)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3142 #31AF9E
analogous
#AF3181 #AF3142 #AF5F31
triadic
#AF3142 #42AF31 #3142AF
tetradic
#AF3142 #81AF31 #31AF9E #5F31AF
square
#AF3142 #81AF31 #31AF9E #5F31AF
split-complementary
#AF3142 #31AF5F #3181AF
monochromatic
#4F161E #7F2430 #AF3142 #CE4F60 #DB7F8C

Accessibility & contrast

On white

6.29
#AF3142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF3142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3142
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3142#FFFFFF#000000##FFFFFF
##AF31421.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F42
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#C00A38
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3142;
/* rgb */ color: rgb(175, 49, 66);
/* oklch */ color: oklch(50.9% 0.162 17.6);
Tailwind
colors: {
  custom: {
    50: '#ce7276',
    500: '#af3142',
    950: '#000000',
  },
}
SCSS
$custom: #af3142;
$custom-light: #ce7276;
$custom-dark: #000000;
JSON
{
  "hex": "#af3142",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 351.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.16152,
    "h": 17.6
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#AF3142
secondary
#78C4BA
accent
#E0CB48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3142

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

Preview Lab → · Contrast checker → · Palette generator →

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