#A8396B#A8396B

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

Color values

HEX#A8396B
RGBrgb(168, 57, 107)
HSLhsl(333, 49%, 44%)
HSVhsv(333, 66%, 66%)
CMYKcmyk(0%, 66.1%, 36.3%, 34.1%)
CIE-LABlab(41.71, 49.95, -4.29)
CIE-LCHlch(41.71, 50.13, 355.10°)
OKLaboklab(51.76% 0.1527 -0.0106)
OKLCHoklch(51.76% 0.153 356)
XYZxyz(20.2666, 12.3149, 15.2168)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8396B #39A876
analogous
#A839A3 #A8396B #A83F39
triadic
#A8396B #6BA839 #396BA8
tetradic
#A8396B #A3A839 #39A876 #3F39A8
square
#A8396B #A3A839 #39A876 #3F39A8
split-complementary
#A8396B #39A83F #39A3A8
monochromatic
#4D1A31 #7A294E #A8396B #C6588A #D686AA

Accessibility & contrast

On white

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

On black

3.46
#A8396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A8396B#FFFFFF#000000##FFFFFF
##A8396B1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556C
Deuteranopia (green-blind)
#6A6A68
Tritanopia (blue-blind)
#B5304D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8396b;
/* rgb */ color: rgb(168, 57, 107);
/* oklch */ color: oklch(51.8% 0.153 356.0);
Tailwind
colors: {
  custom: {
    50: '#c67795',
    500: '#a8396b',
    950: '#000000',
  },
}
SCSS
$custom: #a8396b;
$custom-light: #c67795;
$custom-dark: #000000;
JSON
{
  "hex": "#a8396b",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 332.973,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.15309,
    "h": 356
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#A8396B
secondary
#7DC0A2
accent
#D99B4F
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A8396B

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

Preview Lab → · Contrast checker → · Palette generator →

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