#A2397E#A2397E

#A2397E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.158 H 343.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A2397E
RGBrgb(162, 57, 126)
HSLhsl(321, 48%, 43%)
HSVhsv(321, 65%, 64%)
CMYKcmyk(0%, 64.8%, 22.2%, 36.5%)
CIE-LABlab(41.40, 50.63, -16.61)
CIE-LCHlch(41.40, 53.28, 341.83°)
OKLaboklab(51.56% 0.152 -0.0443)
OKLCHoklch(51.56% 0.158 343.8)
XYZxyz(20.1300, 12.1159, 21.0131)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2397E #39A25D
analogous
#9139A2 #A2397E #A2394A
triadic
#A2397E #7EA239 #397EA2
tetradic
#A2397E #A29139 #39A25D #394AA2
square
#A2397E #A29139 #39A25D #394AA2
split-complementary
#A2397E #4AA239 #39A291
monochromatic
#471938 #75295B #A2397E #C3559D #D382B7

Accessibility & contrast

On white

6.14
#A2397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A2397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2397E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2397E#FFFFFF#000000##FFFFFF
##A2397E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#AC3956
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a2397e;
/* rgb */ color: rgb(162, 57, 126);
/* oklch */ color: oklch(51.6% 0.158 343.8);
Tailwind
colors: {
  custom: {
    50: '#c176a3',
    500: '#a2397e',
    950: '#000000',
  },
}
SCSS
$custom: #a2397e;
$custom-light: #c176a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2397e",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 320.571,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51563,
    "c": 0.15829,
    "h": 343.8
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#A2397E
secondary
#7ABD91
accent
#D87F50
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A2397E

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

Preview Lab → · Contrast checker → · Palette generator →

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