#AF515E#AF515E

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

Color values

HEX#AF515E
RGBrgb(175, 81, 94)
HSLhsl(352, 37%, 50%)
HSVhsv(352, 54%, 69%)
CMYKcmyk(0%, 53.7%, 46.3%, 31.4%)
CIE-LABlab(46.72, 39.60, 11.08)
CIE-LCHlch(46.72, 41.12, 15.63°)
OKLaboklab(55.61% 0.1197 0.0285)
OKLCHoklch(55.61% 0.123 13.4)
XYZxyz(22.6435, 15.8094, 12.4466)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF515E #51AFA2
analogous
#AF518D #AF515E #AF7351
triadic
#AF515E #5EAF51 #515EAF
tetradic
#AF515E #8DAF51 #51AFA2 #7351AF
square
#AF515E #8DAF51 #51AFA2 #7351AF
split-complementary
#AF515E #51AF73 #518DAF
monochromatic
#5C2A31 #853D47 #AF515E #C27B85 #D6A5AC

Accessibility & contrast

On white

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

On black

4.16
#AF515E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF515E#FFFFFF#000000##FFFFFF
##AF515E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635E
Deuteranopia (green-blind)
#7C765C
Tritanopia (blue-blind)
#BE4556
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af515e;
/* rgb */ color: rgb(175, 81, 94);
/* oklch */ color: oklch(55.6% 0.123 13.4);
Tailwind
colors: {
  custom: {
    50: '#cb858b',
    500: '#af515e',
    950: '#000000',
  },
}
SCSS
$custom: #af515e;
$custom-light: #cb858b;
$custom-dark: #000000;
JSON
{
  "hex": "#af515e",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 94
  },
  "hsl": {
    "h": 351.702,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.12308,
    "h": 13.4
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#AF515E
secondary
#99C3BD
accent
#CDBD5B
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF515E

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

Preview Lab → · Contrast checker → · Palette generator →

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