#A8396E#A8396E

#A8396E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.9% C 0.154 H 354.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A8396E
RGBrgb(168, 57, 110)
HSLhsl(331, 49%, 44%)
HSVhsv(331, 66%, 66%)
CMYKcmyk(0%, 66.1%, 34.5%, 34.1%)
CIE-LABlab(41.81, 50.31, -6.00)
CIE-LCHlch(41.81, 50.66, 353.20°)
OKLaboklab(51.87% 0.1537 -0.0152)
OKLCHoklch(51.87% 0.154 354.3)
XYZxyz(20.4272, 12.3791, 16.0625)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8396E #39A873
analogous
#A839A6 #A8396E #A83C39
triadic
#A8396E #6EA839 #396EA8
tetradic
#A8396E #A6A839 #39A873 #3C39A8
square
#A8396E #A6A839 #39A873 #3C39A8
split-complementary
#A8396E #39A83C #39A6A8
monochromatic
#4D1A32 #7A2950 #A8396E #C6588D #D686AC

Accessibility & contrast

On white

6.04
#A8396E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8396E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8396E#FFFFFF#000000##FFFFFF
##A8396E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5670
Deuteranopia (green-blind)
#6A6A6B
Tritanopia (blue-blind)
#B5314F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a8396e;
/* rgb */ color: rgb(168, 57, 110);
/* oklch */ color: oklch(51.9% 0.154 354.3);
Tailwind
colors: {
  custom: {
    50: '#c67797',
    500: '#a8396e',
    950: '#000000',
  },
}
SCSS
$custom: #a8396e;
$custom-light: #c67797;
$custom-dark: #000000;
JSON
{
  "hex": "#a8396e",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 331.351,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.15442,
    "h": 354.3
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#A8396E
secondary
#7DC0A0
accent
#D9974F
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A8396E

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

Preview Lab → · Contrast checker → · Palette generator →

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