#AF5253#AF5253

#AF5253 is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.5% C 0.122 H 21.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF5253
RGBrgb(175, 82, 83)
HSLhsl(359, 37%, 50%)
HSVhsv(359, 53%, 69%)
CMYKcmyk(0%, 53.1%, 52.6%, 31.4%)
CIE-LABlab(46.68, 38.03, 17.67)
CIE-LCHlch(46.68, 41.93, 24.92°)
OKLaboklab(55.49% 0.1137 0.0441)
OKLCHoklch(55.49% 0.122 21.2)
XYZxyz(22.2595, 15.7756, 10.0547)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5253 #52AFAE
analogous
#AF5281 #AF5253 #AF7F52
triadic
#AF5253 #53AF52 #5253AF
tetradic
#AF5253 #81AF52 #52AFAE #7F52AF
square
#AF5253 #81AF52 #52AFAE #7F52AF
split-complementary
#AF5253 #52AF7F #5281AF
monochromatic
#5C2B2B #863E3F #AF5253 #C27C7D #D6A6A6

Accessibility & contrast

On white

5.05
#AF5253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF5253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5253
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5253#FFFFFF#000000##FFFFFF
##AF52531.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676352
Deuteranopia (green-blind)
#7E7651
Tritanopia (blue-blind)
#BE4453
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af5253;
/* rgb */ color: rgb(175, 82, 83);
/* oklch */ color: oklch(55.5% 0.122 21.2);
Tailwind
colors: {
  custom: {
    50: '#cb8583',
    500: '#af5253',
    950: '#000000',
  },
}
SCSS
$custom: #af5253;
$custom-light: #cb8583;
$custom-dark: #000000;
JSON
{
  "hex": "#af5253",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 83
  },
  "hsl": {
    "h": 359.355,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55493,
    "c": 0.12193,
    "h": 21.2
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#AF5253
secondary
#9AC3C3
accent
#CDCC5B
background
#FDF8F8
surface
#FAEFEF
border
#D3CACA
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF5253

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

Preview Lab → · Contrast checker → · Palette generator →

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