#A8397E#A8397E

#A8397E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.163 H 345.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A8397E
RGBrgb(168, 57, 126)
HSLhsl(323, 49%, 44%)
HSVhsv(323, 66%, 66%)
CMYKcmyk(0%, 66.1%, 25%, 34.1%)
CIE-LABlab(42.40, 52.36, -15.00)
CIE-LCHlch(42.40, 54.46, 344.02°)
OKLaboklab(52.49% 0.1581 -0.0397)
OKLCHoklch(52.49% 0.163 345.9)
XYZxyz(21.3783, 12.7596, 21.0716)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8397E #39A863
analogous
#9B39A8 #A8397E #A83947
triadic
#A8397E #7EA839 #397EA8
tetradic
#A8397E #A89B39 #39A863 #3947A8
square
#A8397E #A89B39 #39A863 #3947A8
split-complementary
#A8397E #47A839 #39A89B
monochromatic
#4D1A39 #7A295C #A8397E #C6589D #D686B7

Accessibility & contrast

On white

5.91
#A8397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8397E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8397E#FFFFFF#000000##FFFFFF
##A8397E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#B33756
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a8397e;
/* rgb */ color: rgb(168, 57, 126);
/* oklch */ color: oklch(52.5% 0.163 345.9);
Tailwind
colors: {
  custom: {
    50: '#c577a3',
    500: '#a8397e',
    950: '#000000',
  },
}
SCSS
$custom: #a8397e;
$custom-light: #c577a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8397e",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 322.703,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.16301,
    "h": 345.9
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#A8397E
secondary
#7DC096
accent
#D9834F
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A8397E

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

Preview Lab → · Contrast checker → · Palette generator →

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