#AF5046#AF5046

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

Color values

HEX#AF5046
RGBrgb(175, 80, 70)
HSLhsl(6, 43%, 48%)
HSVhsv(6, 60%, 69%)
CMYKcmyk(0%, 54.3%, 60%, 31.4%)
CIE-LABlab(46.04, 37.98, 24.59)
CIE-LCHlch(46.04, 45.25, 32.92°)
OKLaboklab(54.93% 0.1116 0.0593)
OKLCHoklch(54.93% 0.126 28)
XYZxyz(21.6552, 15.2961, 7.6052)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5046 #46A5AF
analogous
#AF4671 #AF5046 #AF8446
triadic
#AF5046 #46AF50 #5046AF
tetradic
#AF5046 #71AF46 #46A5AF #8446AF
square
#AF5046 #71AF46 #46A5AF #8446AF
split-complementary
#AF5046 #46AF84 #4671AF
monochromatic
#582823 #833C35 #AF5046 #C5766D #D69F99

Accessibility & contrast

On white

5.17
#AF5046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF5046 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5046
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5046#FFFFFF#000000##FFFFFF
##AF50461.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686045
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#BF3F4E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5046;
/* rgb */ color: rgb(175, 80, 70);
/* oklch */ color: oklch(54.9% 0.126 28.0);
Tailwind
colors: {
  custom: {
    50: '#cc8479',
    500: '#af5046',
    950: '#000000',
  },
}
SCSS
$custom: #af5046;
$custom-light: #cc8479;
$custom-dark: #000000;
JSON
{
  "hex": "#af5046",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 70
  },
  "hsl": {
    "h": 5.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.12639,
    "h": 28
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#AF5046
secondary
#8EBDC2
accent
#C7D355
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B

Preview Lab

Preview with #AF5046

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

Preview Lab → · Contrast checker → · Palette generator →

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