#AF3E42#AF3E42

#AF3E42 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.4% C 0.148 H 21.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3E42
RGBrgb(175, 62, 66)
HSLhsl(358, 48%, 46%)
HSVhsv(358, 65%, 69%)
CMYKcmyk(0%, 64.6%, 62.3%, 31.4%)
CIE-LABlab(42.70, 46.30, 22.71)
CIE-LCHlch(42.70, 51.57, 26.13°)
OKLaboklab(52.39% 0.137 0.0547)
OKLCHoklch(52.39% 0.148 21.8)
XYZxyz(20.3872, 12.9553, 6.5803)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E42 #3EAFAB
analogous
#AF3E7B #AF3E42 #AF733E
triadic
#AF3E42 #42AF3E #3E42AF
tetradic
#AF3E42 #7BAF3E #3EAFAB #733EAF
square
#AF3E42 #7BAF3E #3EAFAB #733EAF
split-complementary
#AF3E42 #3EAF73 #3E7BAF
monochromatic
#551E20 #822E31 #AF3E42 #C86366 #D89092

Accessibility & contrast

On white

5.85
#AF3E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF3E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E42
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E42#FFFFFF#000000##FFFFFF
##AF3E421.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5641
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#C02640
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3e42;
/* rgb */ color: rgb(175, 62, 66);
/* oklch */ color: oklch(52.4% 0.148 21.8);
Tailwind
colors: {
  custom: {
    50: '#cd7976',
    500: '#af3e42',
    950: '#000000',
  },
}
SCSS
$custom: #af3e42;
$custom-light: #cd7976;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e42",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 66
  },
  "hsl": {
    "h": 357.876,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.14754,
    "h": 21.8
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#AF3E42
secondary
#86C3C0
accent
#D7D351
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3E42

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

Preview Lab → · Contrast checker → · Palette generator →

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