#AB395F#AB395F

#AB395F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.8% C 0.152 H 3.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB395F
RGBrgb(171, 57, 95)
HSLhsl(340, 50%, 45%)
HSVhsv(340, 67%, 67%)
CMYKcmyk(0%, 66.7%, 44.4%, 32.9%)
CIE-LABlab(41.87, 49.58, 3.48)
CIE-LCHlch(41.87, 49.70, 4.02°)
OKLaboklab(51.85% 0.1515 0.0095)
OKLCHoklch(51.85% 0.152 3.6)
XYZxyz(20.3248, 12.4129, 12.1499)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB395F #39AB85
analogous
#AB3998 #AB395F #AB4C39
triadic
#AB395F #5FAB39 #395FAB
tetradic
#AB395F #98AB39 #39AB85 #4C39AB
square
#AB395F #98AB39 #39AB85 #4C39AB
split-complementary
#AB395F #39AB4C #3998AB
monochromatic
#4F1A2C #7D2A46 #AB395F #C8597E #D787A2

Accessibility & contrast

On white

6.03
#AB395F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB395F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB395F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB395F#FFFFFF#000000##FFFFFF
##AB395F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#B92A48
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab395f;
/* rgb */ color: rgb(171, 57, 95);
/* oklch */ color: oklch(51.8% 0.152 3.6);
Tailwind
colors: {
  custom: {
    50: '#c9778c',
    500: '#ab395f',
    950: '#000000',
  },
}
SCSS
$custom: #ab395f;
$custom-light: #c9778c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab395f",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 340,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.15176,
    "h": 3.6
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#AB395F
secondary
#7FC1AB
accent
#DAAB4E
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AB395F

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

Preview Lab → · Contrast checker → · Palette generator →

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