#A8397F#A8397F

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

Color values

HEX#A8397F
RGBrgb(168, 57, 127)
HSLhsl(322, 49%, 44%)
HSVhsv(322, 66%, 66%)
CMYKcmyk(0%, 66.1%, 24.4%, 34.1%)
CIE-LABlab(42.44, 52.49, -15.55)
CIE-LCHlch(42.44, 54.75, 343.50°)
OKLaboklab(52.53% 0.1583 -0.0412)
OKLCHoklch(52.53% 0.164 345.4)
XYZxyz(21.4431, 12.7855, 21.4131)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8397F #39A862
analogous
#9A39A8 #A8397F #A83948
triadic
#A8397F #7FA839 #397FA8
tetradic
#A8397F #A89A39 #39A862 #3948A8
square
#A8397F #A89A39 #39A862 #3948A8
split-complementary
#A8397F #48A839 #39A89A
monochromatic
#4D1A3A #7A295C #A8397F #C6589E #D686B8

Accessibility & contrast

On white

5.90
#A8397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A8397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8397F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8397F#FFFFFF#000000##FFFFFF
##A8397F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455881
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#B33757
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a8397f;
/* rgb */ color: rgb(168, 57, 127);
/* oklch */ color: oklch(52.5% 0.164 345.4);
Tailwind
colors: {
  custom: {
    50: '#c577a4',
    500: '#a8397f',
    950: '#000000',
  },
}
SCSS
$custom: #a8397f;
$custom-light: #c577a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8397f",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 322.162,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.16361,
    "h": 345.4
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#A8397F
secondary
#7DC096
accent
#D9824F
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A8397F

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

Preview Lab → · Contrast checker → · Palette generator →

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