#AF545F#AF545F

#AF545F is a mid, moderate red. Relative luminance 0.163; OKLCH L 56.1% C 0.119 H 14.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF545F
RGBrgb(175, 84, 95)
HSLhsl(353, 36%, 51%)
HSVhsv(353, 52%, 69%)
CMYKcmyk(0%, 52%, 45.7%, 31.4%)
CIE-LABlab(47.34, 38.17, 11.34)
CIE-LCHlch(47.34, 39.82, 16.55°)
OKLaboklab(56.08% 0.1154 0.0291)
OKLCHoklch(56.08% 0.119 14.2)
XYZxyz(22.9166, 16.2832, 12.7604)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF545F #54AFA4
analogous
#AF548C #AF545F #AF7654
triadic
#AF545F #5FAF54 #545FAF
tetradic
#AF545F #8CAF54 #54AFA4 #7654AF
square
#AF545F #8CAF54 #54AFA4 #7654AF
split-complementary
#AF545F #54AF76 #548CAF
monochromatic
#5D2C32 #873F48 #AF545F #C37E86 #D6A7AD

Accessibility & contrast

On white

4.93
#AF545F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF545F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF545F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF545F#FFFFFF#000000##FFFFFF
##AF545F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67655F
Deuteranopia (green-blind)
#7E775D
Tritanopia (blue-blind)
#BD4958
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af545f;
/* rgb */ color: rgb(175, 84, 95);
/* oklch */ color: oklch(56.1% 0.119 14.2);
Tailwind
colors: {
  custom: {
    50: '#cb878c',
    500: '#af545f',
    950: '#000000',
  },
}
SCSS
$custom: #af545f;
$custom-light: #cb878c;
$custom-dark: #000000;
JSON
{
  "hex": "#af545f",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 352.747,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.11897,
    "h": 14.2
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

primary
#AF545F
secondary
#9BC4BF
accent
#CCBF5C
background
#FCF8F8
surface
#F9F0F0
border
#D2CBCB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF545F

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

Preview Lab → · Contrast checker → · Palette generator →

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