#AF545C#AF545C

#AF545C is a mid, moderate red. Relative luminance 0.162; OKLCH L 56.0% C 0.119 H 16.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF545C
RGBrgb(175, 84, 92)
HSLhsl(355, 36%, 51%)
HSVhsv(355, 52%, 69%)
CMYKcmyk(0%, 52%, 47.4%, 31.4%)
CIE-LABlab(47.27, 37.86, 13.06)
CIE-LCHlch(47.27, 40.05, 19.03°)
OKLaboklab(56.01% 0.1141 0.0333)
OKLCHoklch(56.01% 0.119 16.2)
XYZxyz(22.7828, 16.2297, 12.0560)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF545C #54AFA7
analogous
#AF5489 #AF545C #AF7954
triadic
#AF545C #5CAF54 #545CAF
tetradic
#AF545C #89AF54 #54AFA7 #7954AF
square
#AF545C #89AF54 #54AFA7 #7954AF
split-complementary
#AF545C #54AF79 #5489AF
monochromatic
#5D2C30 #873F45 #AF545C #C37E84 #D6A7AB

Accessibility & contrast

On white

4.95
#AF545C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF545C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF545C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF545C#FFFFFF#000000##FFFFFF
##AF545C1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67655C
Deuteranopia (green-blind)
#7E775A
Tritanopia (blue-blind)
#BE4857
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af545c;
/* rgb */ color: rgb(175, 84, 92);
/* oklch */ color: oklch(56.0% 0.119 16.2);
Tailwind
colors: {
  custom: {
    50: '#cb878a',
    500: '#af545c',
    950: '#000000',
  },
}
SCSS
$custom: #af545c;
$custom-light: #cb878a;
$custom-dark: #000000;
JSON
{
  "hex": "#af545c",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 92
  },
  "hsl": {
    "h": 354.725,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.11889,
    "h": 16.2
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#AF545C
secondary
#9BC4C0
accent
#CCC25C
background
#FCF8F8
surface
#F9F0F0
border
#D2CBCB
text
#140B0B
muted
#827C7C

Preview Lab

Preview with #AF545C

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

Preview Lab → · Contrast checker → · Palette generator →

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