#A0397B#A0397B

#A0397B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.155 H 344.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A0397B
RGBrgb(160, 57, 123)
HSLhsl(322, 47%, 43%)
HSVhsv(322, 64%, 63%)
CMYKcmyk(0%, 64.4%, 23.1%, 37.3%)
CIE-LABlab(40.95, 49.61, -15.48)
CIE-LCHlch(40.95, 51.97, 342.67°)
OKLaboklab(51.13% 0.1492 -0.0412)
OKLCHoklch(51.13% 0.155 344.6)
XYZxyz(19.5361, 11.8318, 19.9899)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0397B #39A05E
analogous
#9139A0 #A0397B #A03948
triadic
#A0397B #7BA039 #397BA0
tetradic
#A0397B #A09139 #39A05E #3948A0
square
#A0397B #A09139 #39A05E #3948A0
split-complementary
#A0397B #48A039 #39A091
monochromatic
#461936 #732958 #A0397B #C2549B #D281B5

Accessibility & contrast

On white

6.24
#A0397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A0397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0397B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0397B#FFFFFF#000000##FFFFFF
##A0397B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567D
Deuteranopia (green-blind)
#616779
Tritanopia (blue-blind)
#AA3855
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a0397b;
/* rgb */ color: rgb(160, 57, 123);
/* oklch */ color: oklch(51.1% 0.155 344.6);
Tailwind
colors: {
  custom: {
    50: '#bf76a1',
    500: '#a0397b',
    950: '#000000',
  },
}
SCSS
$custom: #a0397b;
$custom-light: #bf76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a0397b",
  "rgb": {
    "r": 160,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 321.553,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.15476,
    "h": 344.6
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#A0397B
secondary
#79BC91
accent
#D78151
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A0397B

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

Preview Lab → · Contrast checker → · Palette generator →

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