#A6387F#A6387F

#A6387F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.163 H 344.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A6387F
RGBrgb(166, 56, 127)
HSLhsl(321, 50%, 44%)
HSVhsv(321, 66%, 65%)
CMYKcmyk(0%, 66.3%, 23.5%, 34.9%)
CIE-LABlab(41.95, 52.34, -16.32)
CIE-LCHlch(41.95, 54.82, 342.68°)
OKLaboklab(52.11% 0.1576 -0.0434)
OKLCHoklch(52.11% 0.163 344.6)
XYZxyz(20.9716, 12.4697, 21.3770)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6387F #38A65F
analogous
#9638A6 #A6387F #A63848
triadic
#A6387F #7FA638 #387FA6
tetradic
#A6387F #A69638 #38A65F #3848A6
square
#A6387F #A69638 #38A65F #3848A6
split-complementary
#A6387F #48A638 #38A696
monochromatic
#4A1939 #78295C #A6387F #C6559E #D583B8

Accessibility & contrast

On white

6.01
#A6387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A6387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6387F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6387F#FFFFFF#000000##FFFFFF
##A6387F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#B13756
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6387f;
/* rgb */ color: rgb(166, 56, 127);
/* oklch */ color: oklch(52.1% 0.163 344.6);
Tailwind
colors: {
  custom: {
    50: '#c476a4',
    500: '#a6387f',
    950: '#000000',
  },
}
SCSS
$custom: #a6387f;
$custom-light: #c476a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6387f",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 321.273,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.16345,
    "h": 344.6
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#A6387F
secondary
#7BBF93
accent
#D9804F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6387F

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

Preview Lab → · Contrast checker → · Palette generator →

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