#A7397C#A7397C

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

Color values

HEX#A7397C
RGBrgb(167, 57, 124)
HSLhsl(323, 49%, 44%)
HSVhsv(323, 66%, 65%)
CMYKcmyk(0%, 65.9%, 25.7%, 34.5%)
CIE-LABlab(42.15, 51.80, -14.16)
CIE-LCHlch(42.15, 53.70, 344.71°)
OKLaboklab(52.25% 0.1566 -0.0374)
OKLCHoklch(52.25% 0.161 346.6)
XYZxyz(21.0384, 12.5991, 20.3888)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7397C #39A764
analogous
#9B39A7 #A7397C #A73945
triadic
#A7397C #7CA739 #397CA7
tetradic
#A7397C #A79B39 #39A764 #3945A7
square
#A7397C #A79B39 #39A764 #3945A7
split-complementary
#A7397C #45A739 #39A79B
monochromatic
#4C1A38 #79295A #A7397C #C6579B #D585B6

Accessibility & contrast

On white

5.97
#A7397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A7397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7397C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7397C#FFFFFF#000000##FFFFFF
##A7397C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#B23655
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a7397c;
/* rgb */ color: rgb(167, 57, 124);
/* oklch */ color: oklch(52.3% 0.161 346.6);
Tailwind
colors: {
  custom: {
    50: '#c577a2',
    500: '#a7397c',
    950: '#000000',
  },
}
SCSS
$custom: #a7397c;
$custom-light: #c577a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7397c",
  "rgb": {
    "r": 167,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 323.455,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.161,
    "h": 346.6
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#A7397C
secondary
#7DBF97
accent
#D9854F
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A7397C

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

Preview Lab → · Contrast checker → · Palette generator →

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