#A6388A#A6388A

#A6388A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.171 H 339.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A6388A
RGBrgb(166, 56, 138)
HSLhsl(315, 50%, 44%)
HSVhsv(315, 66%, 65%)
CMYKcmyk(0%, 66.3%, 16.9%, 34.9%)
CIE-LABlab(42.42, 53.92, -22.33)
CIE-LCHlch(42.42, 58.36, 337.50°)
OKLaboklab(52.6% 0.1598 -0.0603)
OKLCHoklch(52.6% 0.171 339.3)
XYZxyz(21.7280, 12.7723, 25.3608)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6388A #38A654
analogous
#8B38A6 #A6388A #A63853
triadic
#A6388A #8AA638 #388AA6
tetradic
#A6388A #A68B38 #38A654 #3853A6
square
#A6388A #A68B38 #38A654 #3853A6
split-complementary
#A6388A #53A638 #38A68B
monochromatic
#4A193E #782964 #A6388A #C655A9 #D583C0

Accessibility & contrast

On white

5.91
#A6388A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A6388A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6388A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6388A#FFFFFF#000000##FFFFFF
##A6388A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#606A87
Tritanopia (blue-blind)
#AF3B5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6388a;
/* rgb */ color: rgb(166, 56, 138);
/* oklch */ color: oklch(52.6% 0.171 339.3);
Tailwind
colors: {
  custom: {
    50: '#c477ac',
    500: '#a6388a',
    950: '#000000',
  },
}
SCSS
$custom: #a6388a;
$custom-light: #c477ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6388a",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 315.273,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.17079,
    "h": 339.3
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#A6388A
secondary
#7BBF8C
accent
#D9724F
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6388A

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

Preview Lab → · Contrast checker → · Palette generator →

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