#A8397D#A8397D

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

Color values

HEX#A8397D
RGBrgb(168, 57, 125)
HSLhsl(323, 49%, 44%)
HSVhsv(323, 66%, 66%)
CMYKcmyk(0%, 66.1%, 25.6%, 34.1%)
CIE-LABlab(42.36, 52.22, -14.44)
CIE-LCHlch(42.36, 54.18, 344.54°)
OKLaboklab(52.45% 0.1579 -0.0382)
OKLCHoklch(52.45% 0.162 346.4)
XYZxyz(21.3141, 12.7339, 20.7335)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8397D #39A864
analogous
#9C39A8 #A8397D #A83946
triadic
#A8397D #7DA839 #397DA8
tetradic
#A8397D #A89C39 #39A864 #3946A8
square
#A8397D #A89C39 #39A864 #3946A8
split-complementary
#A8397D #46A839 #39A89C
monochromatic
#4D1A39 #7A295B #A8397D #C6589C #D686B7

Accessibility & contrast

On white

5.92
#A8397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A8397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8397D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8397D#FFFFFF#000000##FFFFFF
##A8397D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#B33756
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a8397d;
/* rgb */ color: rgb(168, 57, 125);
/* oklch */ color: oklch(52.4% 0.162 346.4);
Tailwind
colors: {
  custom: {
    50: '#c577a2',
    500: '#a8397d',
    950: '#000000',
  },
}
SCSS
$custom: #a8397d;
$custom-light: #c577a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8397d",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 323.243,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.1624,
    "h": 346.4
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#A8397D
secondary
#7DC097
accent
#D9844F
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A8397D

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

Preview Lab → · Contrast checker → · Palette generator →

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