#A8387F#A8387F

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

Color values

HEX#A8387F
RGBrgb(168, 56, 127)
HSLhsl(322, 50%, 44%)
HSVhsv(322, 67%, 66%)
CMYKcmyk(0%, 66.7%, 24.4%, 34.1%)
CIE-LABlab(42.29, 52.91, -15.78)
CIE-LCHlch(42.29, 55.21, 343.39°)
OKLaboklab(52.42% 0.1596 -0.0419)
OKLCHoklch(52.42% 0.165 345.3)
XYZxyz(21.3942, 12.6876, 21.3968)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8387F #38A861
analogous
#9938A8 #A8387F #A83847
triadic
#A8387F #7FA838 #387FA8
tetradic
#A8387F #A89938 #38A861 #3847A8
square
#A8387F #A89938 #38A861 #3847A8
split-complementary
#A8387F #47A838 #38A899
monochromatic
#4C193A #7A295C #A8387F #C7569E #D684B8

Accessibility & contrast

On white

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

On black

3.54
#A8387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A8387F#FFFFFF#000000##FFFFFF
##A8387F1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8387f;
/* rgb */ color: rgb(168, 56, 127);
/* oklch */ color: oklch(52.4% 0.165 345.3);
Tailwind
colors: {
  custom: {
    50: '#c577a4',
    500: '#a8387f',
    950: '#000000',
  },
}
SCSS
$custom: #a8387f;
$custom-light: #c577a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8387f",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 321.964,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.165,
    "h": 345.3
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#A8387F
secondary
#7CC095
accent
#DA814E
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A8387F

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

Preview Lab → · Contrast checker → · Palette generator →

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