#AF5151#AF5151

#AF5151 is a mid, vivid red. Relative luminance 0.156; OKLCH L 55.3% C 0.123 H 21.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF5151
RGBrgb(175, 81, 81)
HSLhsl(0, 37%, 50%)
HSVhsv(0, 54%, 69%)
CMYKcmyk(0%, 53.7%, 53.7%, 31.4%)
CIE-LABlab(46.44, 38.36, 18.55)
CIE-LCHlch(46.44, 42.61, 25.80°)
OKLaboklab(55.3% 0.1145 0.0461)
OKLCHoklch(55.3% 0.123 21.9)
XYZxyz(22.1085, 15.5954, 9.6289)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5151 #51AFAF
analogous
#AF5180 #AF5151 #AF8051
triadic
#AF5151 #51AF51 #5151AF
tetradic
#AF5151 #80AF51 #51AFAF #8051AF
square
#AF5151 #80AF51 #51AFAF #8051AF
split-complementary
#AF5151 #51AF80 #5180AF
monochromatic
#5C2A2A #853D3D #AF5151 #C27B7B #D6A5A5

Accessibility & contrast

On white

5.10
#AF5151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF5151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5151
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5151#FFFFFF#000000##FFFFFF
##AF51511.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676250
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#BE4252
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af5151;
/* rgb */ color: rgb(175, 81, 81);
/* oklch */ color: oklch(55.3% 0.123 21.9);
Tailwind
colors: {
  custom: {
    50: '#cb8581',
    500: '#af5151',
    950: '#000000',
  },
}
SCSS
$custom: #af5151;
$custom-light: #cb8581;
$custom-dark: #000000;
JSON
{
  "hex": "#af5151",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.12339,
    "h": 21.9
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#AF5151
secondary
#99C3C3
accent
#CDCD5B
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF5151

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

Preview Lab → · Contrast checker → · Palette generator →

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