#A6387D#A6387D

#A6387D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.162 H 345.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A6387D
RGBrgb(166, 56, 125)
HSLhsl(322, 50%, 44%)
HSVhsv(322, 66%, 65%)
CMYKcmyk(0%, 66.3%, 24.7%, 34.9%)
CIE-LABlab(41.87, 52.06, -15.21)
CIE-LCHlch(41.87, 54.24, 343.71°)
OKLaboklab(52.03% 0.1571 -0.0403)
OKLCHoklch(52.03% 0.162 345.6)
XYZxyz(20.8425, 12.4181, 20.6973)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6387D #38A661
analogous
#9838A6 #A6387D #A63846
triadic
#A6387D #7DA638 #387DA6
tetradic
#A6387D #A69838 #38A661 #3846A6
square
#A6387D #A69838 #38A661 #3846A6
split-complementary
#A6387D #46A638 #38A698
monochromatic
#4A1938 #78295B #A6387D #C6559C #D583B7

Accessibility & contrast

On white

6.03
#A6387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A6387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6387D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6387D#FFFFFF#000000##FFFFFF
##A6387D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577F
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#B13655
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6387d;
/* rgb */ color: rgb(166, 56, 125);
/* oklch */ color: oklch(52.0% 0.162 345.6);
Tailwind
colors: {
  custom: {
    50: '#c476a2',
    500: '#a6387d',
    950: '#000000',
  },
}
SCSS
$custom: #a6387d;
$custom-light: #c476a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6387d",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 322.364,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.1622,
    "h": 345.6
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#A6387D
secondary
#7BBF94
accent
#D9824F
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6387D

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

Preview Lab → · Contrast checker → · Palette generator →

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