#A8397B#A8397B

#A8397B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.161 H 347.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A8397B
RGBrgb(168, 57, 123)
HSLhsl(324, 49%, 44%)
HSVhsv(324, 66%, 66%)
CMYKcmyk(0%, 66.1%, 26.8%, 34.1%)
CIE-LABlab(42.28, 51.95, -13.33)
CIE-LCHlch(42.28, 53.64, 345.61°)
OKLaboklab(52.37% 0.1574 -0.0351)
OKLCHoklch(52.37% 0.161 347.4)
XYZxyz(21.1876, 12.6833, 20.0673)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8397B #39A866
analogous
#9E39A8 #A8397B #A83944
triadic
#A8397B #7BA839 #397BA8
tetradic
#A8397B #A89E39 #39A866 #3944A8
square
#A8397B #A89E39 #39A866 #3944A8
split-complementary
#A8397B #44A839 #39A89E
monochromatic
#4D1A38 #7A295A #A8397B #C6589A #D686B5

Accessibility & contrast

On white

5.94
#A8397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A8397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8397B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8397B#FFFFFF#000000##FFFFFF
##A8397B1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587D
Deuteranopia (green-blind)
#666B78
Tritanopia (blue-blind)
#B33655
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a8397b;
/* rgb */ color: rgb(168, 57, 123);
/* oklch */ color: oklch(52.4% 0.161 347.4);
Tailwind
colors: {
  custom: {
    50: '#c577a1',
    500: '#a8397b',
    950: '#000000',
  },
}
SCSS
$custom: #a8397b;
$custom-light: #c577a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8397b",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 324.324,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.16122,
    "h": 347.4
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#A8397B
secondary
#7DC098
accent
#D9874F
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A8397B

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

Preview Lab → · Contrast checker → · Palette generator →

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