#AF535F#AF535F

#AF535F is a mid, vivid red. Relative luminance 0.161; OKLCH L 55.9% C 0.120 H 13.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF535F
RGBrgb(175, 83, 95)
HSLhsl(352, 37%, 51%)
HSVhsv(352, 53%, 69%)
CMYKcmyk(0%, 52.6%, 45.7%, 31.4%)
CIE-LABlab(47.14, 38.68, 11.06)
CIE-LCHlch(47.14, 40.23, 15.96°)
OKLaboklab(55.93% 0.117 0.0284)
OKLCHoklch(55.93% 0.12 13.7)
XYZxyz(22.8395, 16.1291, 12.7347)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF535F #53AFA3
analogous
#AF538D #AF535F #AF7553
triadic
#AF535F #5FAF53 #535FAF
tetradic
#AF535F #8DAF53 #53AFA3 #7553AF
square
#AF535F #8DAF53 #53AFA3 #7553AF
split-complementary
#AF535F #53AF75 #538DAF
monochromatic
#5D2B32 #863E48 #AF535F #C27D86 #D6A7AD

Accessibility & contrast

On white

4.97
#AF535F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF535F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF535F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF535F#FFFFFF#000000##FFFFFF
##AF535F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66645F
Deuteranopia (green-blind)
#7D775D
Tritanopia (blue-blind)
#BD4758
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af535f;
/* rgb */ color: rgb(175, 83, 95);
/* oklch */ color: oklch(55.9% 0.120 13.7);
Tailwind
colors: {
  custom: {
    50: '#cb868c',
    500: '#af535f',
    950: '#000000',
  },
}
SCSS
$custom: #af535f;
$custom-light: #cb868c;
$custom-dark: #000000;
JSON
{
  "hex": "#af535f",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 95
  },
  "hsl": {
    "h": 352.174,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.12036,
    "h": 13.7
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#AF535F
secondary
#9AC3BE
accent
#CDBE5B
background
#FCF8F8
surface
#F9F0F0
border
#D2CBCB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF535F

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

Preview Lab → · Contrast checker → · Palette generator →

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