#A6388B#A6388B

#A6388B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.172 H 338.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A6388B
RGBrgb(166, 56, 139)
HSLhsl(315, 50%, 44%)
HSVhsv(315, 66%, 65%)
CMYKcmyk(0%, 66.3%, 16.3%, 34.9%)
CIE-LABlab(42.46, 54.07, -22.87)
CIE-LCHlch(42.46, 58.71, 337.07°)
OKLaboklab(52.65% 0.16 -0.0618)
OKLCHoklch(52.65% 0.172 338.9)
XYZxyz(21.8007, 12.8014, 25.7438)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6388B #38A653
analogous
#8A38A6 #A6388B #A63854
triadic
#A6388B #8BA638 #388BA6
tetradic
#A6388B #A68A38 #38A653 #3854A6
square
#A6388B #A68A38 #38A653 #3854A6
split-complementary
#A6388B #54A638 #38A68A
monochromatic
#4A193E #782965 #A6388B #C655AA #D583C1

Accessibility & contrast

On white

5.90
#A6388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A6388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6388B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6388B#FFFFFF#000000##FFFFFF
##A6388B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598D
Deuteranopia (green-blind)
#5F6B88
Tritanopia (blue-blind)
#AF3C5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6388b;
/* rgb */ color: rgb(166, 56, 139);
/* oklch */ color: oklch(52.7% 0.172 338.9);
Tailwind
colors: {
  custom: {
    50: '#c477ad',
    500: '#a6388b',
    950: '#000000',
  },
}
SCSS
$custom: #a6388b;
$custom-light: #c477ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a6388b",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 314.727,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.17151,
    "h": 338.9
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6388B

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

Preview Lab → · Contrast checker → · Palette generator →

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