#A2387F#A2387F

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

Color values

HEX#A2387F
RGBrgb(162, 56, 127)
HSLhsl(320, 49%, 43%)
HSVhsv(320, 65%, 64%)
CMYKcmyk(0%, 65.4%, 21.6%, 36.5%)
CIE-LABlab(41.29, 51.19, -17.40)
CIE-LCHlch(41.29, 54.07, 341.23°)
OKLaboklab(51.49% 0.1535 -0.0465)
OKLCHoklch(51.49% 0.16 343.2)
XYZxyz(20.1458, 12.0439, 21.3383)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2387F #38A25B
analogous
#9038A2 #A2387F #A2384A
triadic
#A2387F #7FA238 #387FA2
tetradic
#A2387F #A29038 #38A25B #384AA2
square
#A2387F #A29038 #38A25B #384AA2
split-complementary
#A2387F #4AA238 #38A290
monochromatic
#471938 #75285B #A2387F #C4539F #D381B8

Accessibility & contrast

On white

6.16
#A2387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A2387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2387F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2387F#FFFFFF#000000##FFFFFF
##A2387F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#AC3856
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a2387f;
/* rgb */ color: rgb(162, 56, 127);
/* oklch */ color: oklch(51.5% 0.160 343.2);
Tailwind
colors: {
  custom: {
    50: '#c176a4',
    500: '#a2387f',
    950: '#000000',
  },
}
SCSS
$custom: #a2387f;
$custom-light: #c176a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2387f",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 319.811,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51493,
    "c": 0.16037,
    "h": 343.2
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#A2387F
secondary
#79BD8F
accent
#D87D50
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A2387F

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

Preview Lab → · Contrast checker → · Palette generator →

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