#A7397E#A7397E

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

Color values

HEX#A7397E
RGBrgb(167, 57, 126)
HSLhsl(322, 49%, 44%)
HSVhsv(322, 66%, 65%)
CMYKcmyk(0%, 65.9%, 24.6%, 34.5%)
CIE-LABlab(42.23, 52.07, -15.27)
CIE-LCHlch(42.23, 54.26, 343.66°)
OKLaboklab(52.34% 0.1571 -0.0405)
OKLCHoklch(52.34% 0.162 345.6)
XYZxyz(21.1662, 12.6502, 21.0616)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7397E #39A762
analogous
#9939A7 #A7397E #A73947
triadic
#A7397E #7EA739 #397EA7
tetradic
#A7397E #A79939 #39A762 #3947A7
square
#A7397E #A79939 #39A762 #3947A7
split-complementary
#A7397E #47A739 #39A799
monochromatic
#4C1A39 #79295C #A7397E #C6579D #D585B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7397E#FFFFFF#000000##FFFFFF
##A7397E1.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)
#455880
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#B23756
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7397e;
/* rgb */ color: rgb(167, 57, 126);
/* oklch */ color: oklch(52.3% 0.162 345.6);
Tailwind
colors: {
  custom: {
    50: '#c577a3',
    500: '#a7397e',
    950: '#000000',
  },
}
SCSS
$custom: #a7397e;
$custom-light: #c577a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a7397e",
  "rgb": {
    "r": 167,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 322.364,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.16222,
    "h": 345.6
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#A7397E
secondary
#7DBF95
accent
#D9824F
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A7397E

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

Preview Lab → · Contrast checker → · Palette generator →

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