#A7397B#A7397B

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

Color values

HEX#A7397B
RGBrgb(167, 57, 123)
HSLhsl(324, 49%, 44%)
HSVhsv(324, 66%, 65%)
CMYKcmyk(0%, 65.9%, 26.3%, 34.5%)
CIE-LABlab(42.11, 51.66, -13.60)
CIE-LCHlch(42.11, 53.42, 345.25°)
OKLaboklab(52.21% 0.1564 -0.0359)
OKLCHoklch(52.21% 0.16 347.1)
XYZxyz(20.9755, 12.5739, 20.0574)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7397B #39A765
analogous
#9C39A7 #A7397B #A73944
triadic
#A7397B #7BA739 #397BA7
tetradic
#A7397B #A79C39 #39A765 #3944A7
square
#A7397B #A79C39 #39A765 #3944A7
split-complementary
#A7397B #44A739 #39A79C
monochromatic
#4C1A38 #792959 #A7397B #C6579A #D585B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7397B#FFFFFF#000000##FFFFFF
##A7397B1.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)
#46577D
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#B23655
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a7397b;
/* rgb */ color: rgb(167, 57, 123);
/* oklch */ color: oklch(52.2% 0.160 347.1);
Tailwind
colors: {
  custom: {
    50: '#c577a1',
    500: '#a7397b',
    950: '#000000',
  },
}
SCSS
$custom: #a7397b;
$custom-light: #c577a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a7397b",
  "rgb": {
    "r": 167,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 324,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.16041,
    "h": 347.1
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7397B

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

Preview Lab → · Contrast checker → · Palette generator →

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