#A2387E#A2387E

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

Color values

HEX#A2387E
RGBrgb(162, 56, 126)
HSLhsl(320, 49%, 43%)
HSVhsv(320, 65%, 64%)
CMYKcmyk(0%, 65.4%, 22.2%, 36.5%)
CIE-LABlab(41.24, 51.05, -16.85)
CIE-LCHlch(41.24, 53.76, 341.73°)
OKLaboklab(51.45% 0.1533 -0.0449)
OKLCHoklch(51.45% 0.16 343.7)
XYZxyz(20.0810, 12.0180, 20.9968)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2387E #38A25C
analogous
#9138A2 #A2387E #A23849
triadic
#A2387E #7EA238 #387EA2
tetradic
#A2387E #A29138 #38A25C #3849A2
square
#A2387E #A29138 #38A25C #3849A2
split-complementary
#A2387E #49A238 #38A291
monochromatic
#471937 #75285B #A2387E #C4539E #D381B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2387E#FFFFFF#000000##FFFFFF
##A2387E1.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)
#AC3856
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a2387e;
/* rgb */ color: rgb(162, 56, 126);
/* oklch */ color: oklch(51.4% 0.160 343.7);
Tailwind
colors: {
  custom: {
    50: '#c176a3',
    500: '#a2387e',
    950: '#000000',
  },
}
SCSS
$custom: #a2387e;
$custom-light: #c176a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2387e",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 320.377,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.15971,
    "h": 343.7
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#A2387E
secondary
#79BD90
accent
#D87E50
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A2387E

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

Preview Lab → · Contrast checker → · Palette generator →

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