#A6388E#A6388E

#A6388E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.174 H 337.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A6388E
RGBrgb(166, 56, 142)
HSLhsl(313, 50%, 44%)
HSVhsv(313, 66%, 65%)
CMYKcmyk(0%, 66.3%, 14.5%, 34.9%)
CIE-LABlab(42.60, 54.53, -24.49)
CIE-LCHlch(42.60, 59.77, 335.82°)
OKLaboklab(52.79% 0.1605 -0.0664)
OKLCHoklch(52.79% 0.174 337.5)
XYZxyz(22.0229, 12.8902, 26.9141)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6388E #38A650
analogous
#8738A6 #A6388E #A63857
triadic
#A6388E #8EA638 #388EA6
tetradic
#A6388E #A68738 #38A650 #3857A6
square
#A6388E #A68738 #38A650 #3857A6
split-complementary
#A6388E #57A638 #38A687
monochromatic
#4A1940 #782967 #A6388E #C655AD #D583C3

Accessibility & contrast

On white

5.87
#A6388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A6388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6388E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6388E#FFFFFF#000000##FFFFFF
##A6388E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#AF3D5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a6388e;
/* rgb */ color: rgb(166, 56, 142);
/* oklch */ color: oklch(52.8% 0.174 337.5);
Tailwind
colors: {
  custom: {
    50: '#c477af',
    500: '#a6388e',
    950: '#000000',
  },
}
SCSS
$custom: #a6388e;
$custom-light: #c477af;
$custom-dark: #000000;
JSON
{
  "hex": "#a6388e",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 313.091,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.17366,
    "h": 337.5
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#A6388E
secondary
#7BBF8A
accent
#D96D4F
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6388E

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

Preview Lab → · Contrast checker → · Palette generator →

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