#A1397E#A1397E

#A1397E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.158 H 343.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A1397E
RGBrgb(161, 57, 126)
HSLhsl(320, 48%, 43%)
HSVhsv(320, 65%, 63%)
CMYKcmyk(0%, 64.6%, 21.7%, 36.9%)
CIE-LABlab(41.23, 50.34, -16.88)
CIE-LCHlch(41.23, 53.09, 341.46°)
OKLaboklab(51.41% 0.1509 -0.045)
OKLCHoklch(51.41% 0.158 343.4)
XYZxyz(19.9276, 12.0116, 21.0036)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1397E #39A15C
analogous
#9039A1 #A1397E #A1394A
triadic
#A1397E #7EA139 #397EA1
tetradic
#A1397E #A19039 #39A15C #394AA1
square
#A1397E #A19039 #39A15C #394AA1
split-complementary
#A1397E #4AA139 #39A190
monochromatic
#471937 #74295B #A1397E #C3559E #D382B7

Accessibility & contrast

On white

6.17
#A1397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A1397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1397E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1397E#FFFFFF#000000##FFFFFF
##A1397E1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#AB3956
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a1397e;
/* rgb */ color: rgb(161, 57, 126);
/* oklch */ color: oklch(51.4% 0.158 343.4);
Tailwind
colors: {
  custom: {
    50: '#c076a3',
    500: '#a1397e',
    950: '#000000',
  },
}
SCSS
$custom: #a1397e;
$custom-light: #c076a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1397e",
  "rgb": {
    "r": 161,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 320.192,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.1575,
    "h": 343.4
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#A1397E
secondary
#79BC90
accent
#D77E50
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A1397E

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

Preview Lab → · Contrast checker → · Palette generator →

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