#A7397F#A7397F

#A7397F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.163 H 345.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A7397F
RGBrgb(167, 57, 127)
HSLhsl(322, 49%, 44%)
HSVhsv(322, 66%, 65%)
CMYKcmyk(0%, 65.9%, 24%, 34.5%)
CIE-LABlab(42.27, 52.21, -15.82)
CIE-LCHlch(42.27, 54.55, 343.14°)
OKLaboklab(52.38% 0.1573 -0.042)
OKLCHoklch(52.38% 0.163 345)
XYZxyz(21.2310, 12.6761, 21.4032)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7397F #39A761
analogous
#9839A7 #A7397F #A73948
triadic
#A7397F #7FA739 #397FA7
tetradic
#A7397F #A79839 #39A761 #3948A7
square
#A7397F #A79839 #39A761 #3948A7
split-complementary
#A7397F #48A739 #39A798
monochromatic
#4C1A3A #79295C #A7397F #C6579E #D585B8

Accessibility & contrast

On white

5.94
#A7397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7397F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7397F#FFFFFF#000000##FFFFFF
##A7397F1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#646B7C
Tritanopia (blue-blind)
#B23857
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7397f;
/* rgb */ color: rgb(167, 57, 127);
/* oklch */ color: oklch(52.4% 0.163 345.0);
Tailwind
colors: {
  custom: {
    50: '#c577a4',
    500: '#a7397f',
    950: '#000000',
  },
}
SCSS
$custom: #a7397f;
$custom-light: #c577a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7397f",
  "rgb": {
    "r": 167,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 321.818,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.16283,
    "h": 345
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#A7397F
secondary
#7DBF95
accent
#D9814F
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A7397F

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

Preview Lab → · Contrast checker → · Palette generator →

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