#A7397A#A7397A

#A7397A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.160 H 347.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A7397A
RGBrgb(167, 57, 122)
HSLhsl(325, 49%, 44%)
HSVhsv(325, 66%, 65%)
CMYKcmyk(0%, 65.9%, 26.9%, 34.5%)
CIE-LABlab(42.08, 51.53, -13.04)
CIE-LCHlch(42.08, 53.15, 345.79°)
OKLaboklab(52.17% 0.1561 -0.0343)
OKLCHoklch(52.17% 0.16 347.6)
XYZxyz(20.9132, 12.5490, 19.7294)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7397A #39A766
analogous
#9D39A7 #A7397A #A73943
triadic
#A7397A #7AA739 #397AA7
tetradic
#A7397A #A79D39 #39A766 #3943A7
square
#A7397A #A79D39 #39A766 #3943A7
split-complementary
#A7397A #43A739 #39A79D
monochromatic
#4C1A37 #792959 #A7397A #C65799 #D585B5

Accessibility & contrast

On white

5.98
#A7397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A7397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7397A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7397A#FFFFFF#000000##FFFFFF
##A7397A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577C
Deuteranopia (green-blind)
#666A77
Tritanopia (blue-blind)
#B23654
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a7397a;
/* rgb */ color: rgb(167, 57, 122);
/* oklch */ color: oklch(52.2% 0.160 347.6);
Tailwind
colors: {
  custom: {
    50: '#c577a0',
    500: '#a7397a',
    950: '#000000',
  },
}
SCSS
$custom: #a7397a;
$custom-light: #c577a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7397a",
  "rgb": {
    "r": 167,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 324.545,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.15982,
    "h": 347.6
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#A7397A
secondary
#7DBF98
accent
#D9874F
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A7397A

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

Preview Lab → · Contrast checker → · Palette generator →

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