#AB515F#AB515F

#AB515F is a mid, moderate red. Relative luminance 0.154; OKLCH L 55.1% C 0.118 H 12.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB515F
RGBrgb(171, 81, 95)
HSLhsl(351, 36%, 49%)
HSVhsv(351, 53%, 67%)
CMYKcmyk(0%, 52.6%, 44.4%, 32.9%)
CIE-LABlab(46.14, 38.24, 9.56)
CIE-LCHlch(46.14, 39.42, 14.04°)
OKLaboklab(55.05% 0.1158 0.0248)
OKLCHoklch(55.05% 0.118 12.1)
XYZxyz(21.8040, 15.3713, 12.6429)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB515F #51AB9D
analogous
#AB518C #AB515F #AB7051
triadic
#AB515F #5FAB51 #515FAB
tetradic
#AB515F #8CAB51 #51AB9D #7051AB
square
#AB515F #8CAB51 #51AB9D #7051AB
split-complementary
#AB515F #51AB70 #518CAB
monochromatic
#582A31 #813D48 #AB515F #C07984 #D3A3AB

Accessibility & contrast

On white

5.15
#AB515F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB515F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB515F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB515F#FFFFFF#000000##FFFFFF
##AB515F1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63625F
Deuteranopia (green-blind)
#7A745D
Tritanopia (blue-blind)
#B94656
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab515f;
/* rgb */ color: rgb(171, 81, 95);
/* oklch */ color: oklch(55.1% 0.118 12.1);
Tailwind
colors: {
  custom: {
    50: '#c8858c',
    500: '#ab515f',
    950: '#000000',
  },
}
SCSS
$custom: #ab515f;
$custom-light: #c8858c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab515f",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 95
  },
  "hsl": {
    "h": 350.667,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.11843,
    "h": 12.1
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#AB515F
secondary
#97C1BA
accent
#CCBA5C
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AB515F

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

Preview Lab → · Contrast checker → · Palette generator →

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