#AF5142#AF5142

#AF5142 is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.0% C 0.126 H 30.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF5142
RGBrgb(175, 81, 66)
HSLhsl(8, 45%, 47%)
HSVhsv(8, 62%, 69%)
CMYKcmyk(0%, 53.7%, 62.3%, 31.4%)
CIE-LABlab(46.17, 37.18, 27.12)
CIE-LCHlch(46.17, 46.02, 36.11°)
OKLaboklab(55.01% 0.1084 0.0647)
OKLCHoklch(55.01% 0.126 30.8)
XYZxyz(21.6069, 15.3948, 6.9869)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5142 #42A0AF
analogous
#AF426A #AF5142 #AF8842
triadic
#AF5142 #42AF51 #5142AF
tetradic
#AF5142 #6AAF42 #42A0AF #8842AF
square
#AF5142 #6AAF42 #42A0AF #8842AF
split-complementary
#AF5142 #42AF88 #426AAF
monochromatic
#562820 #833C31 #AF5142 #C67568 #D79E95

Accessibility & contrast

On white

5.15
#AF5142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF5142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5142
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5142#FFFFFF#000000##FFFFFF
##AF51421.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696140
Deuteranopia (green-blind)
#807540
Tritanopia (blue-blind)
#BF404E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5142;
/* rgb */ color: rgb(175, 81, 66);
/* oklch */ color: oklch(55.0% 0.126 30.8);
Tailwind
colors: {
  custom: {
    50: '#cc8476',
    500: '#af5142',
    950: '#000000',
  },
}
SCSS
$custom: #af5142;
$custom-light: #cc8476;
$custom-dark: #000000;
JSON
{
  "hex": "#af5142",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 8.257,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.12624,
    "h": 30.8
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#AF5142
secondary
#8ABBC2
accent
#C3D553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AF5142

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

Preview Lab → · Contrast checker → · Palette generator →

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