#A8396C#A8396C

#A8396C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.8% C 0.154 H 355.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A8396C
RGBrgb(168, 57, 108)
HSLhsl(332, 49%, 44%)
HSVhsv(332, 66%, 66%)
CMYKcmyk(0%, 66.1%, 35.7%, 34.1%)
CIE-LABlab(41.75, 50.07, -4.86)
CIE-LCHlch(41.75, 50.30, 354.46°)
OKLaboklab(51.79% 0.153 -0.0122)
OKLCHoklch(51.79% 0.154 355.5)
XYZxyz(20.3195, 12.3361, 15.4955)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8396C #39A875
analogous
#A839A4 #A8396C #A83E39
triadic
#A8396C #6CA839 #396CA8
tetradic
#A8396C #A4A839 #39A875 #3E39A8
square
#A8396C #A4A839 #39A875 #3E39A8
split-complementary
#A8396C #39A83E #39A4A8
monochromatic
#4D1A31 #7A294F #A8396C #C6588B #D686AA

Accessibility & contrast

On white

6.06
#A8396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A8396C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8396C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8396C#FFFFFF#000000##FFFFFF
##A8396C1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556D
Deuteranopia (green-blind)
#6A6A69
Tritanopia (blue-blind)
#B5304E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8396c;
/* rgb */ color: rgb(168, 57, 108);
/* oklch */ color: oklch(51.8% 0.154 355.5);
Tailwind
colors: {
  custom: {
    50: '#c67796',
    500: '#a8396c',
    950: '#000000',
  },
}
SCSS
$custom: #a8396c;
$custom-light: #c67796;
$custom-dark: #000000;
JSON
{
  "hex": "#a8396c",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 332.432,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.15352,
    "h": 355.5
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#A8396C
secondary
#7DC0A1
accent
#D9994F
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A8396C

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

Preview Lab → · Contrast checker → · Palette generator →

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