#AF5252#AF5252

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

Color values

HEX#AF5252
RGBrgb(175, 82, 82)
HSLhsl(0, 37%, 50%)
HSVhsv(0, 53%, 69%)
CMYKcmyk(0%, 53.1%, 53.1%, 31.4%)
CIE-LABlab(46.66, 37.94, 18.24)
CIE-LCHlch(46.66, 42.10, 25.68°)
OKLaboklab(55.47% 0.1133 0.0454)
OKLCHoklch(55.47% 0.122 21.8)
XYZxyz(22.2212, 15.7603, 9.8528)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5252 #52AFAF
analogous
#AF5280 #AF5252 #AF8052
triadic
#AF5252 #52AF52 #5252AF
tetradic
#AF5252 #80AF52 #52AFAF #8052AF
square
#AF5252 #80AF52 #52AFAF #8052AF
split-complementary
#AF5252 #52AF80 #5280AF
monochromatic
#5C2B2B #863E3E #AF5252 #C27C7C #D6A6A6

Accessibility & contrast

On white

5.06
#AF5252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF5252
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5252#FFFFFF#000000##FFFFFF
##AF52521.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5252;
/* rgb */ color: rgb(175, 82, 82);
/* oklch */ color: oklch(55.5% 0.122 21.8);
Tailwind
colors: {
  custom: {
    50: '#cb8582',
    500: '#af5252',
    950: '#000000',
  },
}
SCSS
$custom: #af5252;
$custom-light: #cb8582;
$custom-dark: #000000;
JSON
{
  "hex": "#af5252",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.12203,
    "h": 21.8
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#AF5252
secondary
#9AC3C3
accent
#CDCD5B
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF5252

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

Preview Lab → · Contrast checker → · Palette generator →

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