#A8397A#A8397A

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

Color values

HEX#A8397A
RGBrgb(168, 57, 122)
HSLhsl(325, 49%, 44%)
HSVhsv(325, 66%, 66%)
CMYKcmyk(0%, 66.1%, 27.4%, 34.1%)
CIE-LABlab(42.24, 51.82, -12.77)
CIE-LCHlch(42.24, 53.37, 346.15°)
OKLaboklab(52.33% 0.1571 -0.0336)
OKLCHoklch(52.33% 0.161 347.9)
XYZxyz(21.1253, 12.6584, 19.7394)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8397A #39A867
analogous
#9F39A8 #A8397A #A83943
triadic
#A8397A #7AA839 #397AA8
tetradic
#A8397A #A89F39 #39A867 #3943A8
square
#A8397A #A89F39 #39A867 #3943A8
split-complementary
#A8397A #43A839 #39A89F
monochromatic
#4D1A38 #7A2959 #A8397A #C65899 #D686B5

Accessibility & contrast

On white

5.95
#A8397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A8397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8397A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8397A#FFFFFF#000000##FFFFFF
##A8397A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577C
Deuteranopia (green-blind)
#676B77
Tritanopia (blue-blind)
#B43554
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a8397a;
/* rgb */ color: rgb(168, 57, 122);
/* oklch */ color: oklch(52.3% 0.161 347.9);
Tailwind
colors: {
  custom: {
    50: '#c577a0',
    500: '#a8397a',
    950: '#000000',
  },
}
SCSS
$custom: #a8397a;
$custom-light: #c577a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8397a",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 324.865,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.16064,
    "h": 347.9
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#A8397A
secondary
#7DC099
accent
#D9884F
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A8397A

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

Preview Lab → · Contrast checker → · Palette generator →

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