#A7397D#A7397D

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

Color values

HEX#A7397D
RGBrgb(167, 57, 125)
HSLhsl(323, 49%, 44%)
HSVhsv(323, 66%, 65%)
CMYKcmyk(0%, 65.9%, 25.1%, 34.5%)
CIE-LABlab(42.19, 51.93, -14.71)
CIE-LCHlch(42.19, 53.98, 344.18°)
OKLaboklab(52.29% 0.1568 -0.0389)
OKLCHoklch(52.29% 0.162 346.1)
XYZxyz(21.1019, 12.6245, 20.7235)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7397D #39A763
analogous
#9A39A7 #A7397D #A73946
triadic
#A7397D #7DA739 #397DA7
tetradic
#A7397D #A79A39 #39A763 #3946A7
square
#A7397D #A79A39 #39A763 #3946A7
split-complementary
#A7397D #46A739 #39A79A
monochromatic
#4C1A39 #79295B #A7397D #C6579C #D585B7

Accessibility & contrast

On white

5.96
#A7397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7397D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7397D#FFFFFF#000000##FFFFFF
##A7397D1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45587F
Deuteranopia (green-blind)
#656A7A
Tritanopia (blue-blind)
#B23756
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7397d;
/* rgb */ color: rgb(167, 57, 125);
/* oklch */ color: oklch(52.3% 0.162 346.1);
Tailwind
colors: {
  custom: {
    50: '#c577a2',
    500: '#a7397d',
    950: '#000000',
  },
}
SCSS
$custom: #a7397d;
$custom-light: #c577a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7397d",
  "rgb": {
    "r": 167,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 322.909,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.1616,
    "h": 346.1
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#A7397D
secondary
#7DBF96
accent
#D9844F
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A7397D

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

Preview Lab → · Contrast checker → · Palette generator →

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