#A8378B#A8378B

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

Color values

HEX#A8378B
RGBrgb(168, 55, 139)
HSLhsl(315, 51%, 44%)
HSVhsv(315, 67%, 66%)
CMYKcmyk(0%, 67.3%, 17.3%, 34.1%)
CIE-LABlab(42.65, 55.02, -22.56)
CIE-LCHlch(42.65, 59.46, 337.70°)
OKLaboklab(52.85% 0.1633 -0.0609)
OKLCHoklch(52.85% 0.174 339.6)
XYZxyz(22.1753, 12.9233, 25.7477)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8378B #37A854
analogous
#8C37A8 #A8378B #A83752
triadic
#A8378B #8BA837 #378BA8
tetradic
#A8378B #A88C37 #37A854 #3752A8
square
#A8378B #A88C37 #37A854 #3752A8
split-complementary
#A8378B #52A837 #37A88C
monochromatic
#4C193F #7A2865 #A8378B #C755AA #D683C1

Accessibility & contrast

On white

5.86
#A8378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8378B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8378B#FFFFFF#000000##FFFFFF
##A8378B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598D
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#B23A5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a8378b;
/* rgb */ color: rgb(168, 55, 139);
/* oklch */ color: oklch(52.8% 0.174 339.6);
Tailwind
colors: {
  custom: {
    50: '#c576ad',
    500: '#a8378b',
    950: '#000000',
  },
}
SCSS
$custom: #a8378b;
$custom-light: #c576ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8378b",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 315.398,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.17424,
    "h": 339.6
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#A8378B
secondary
#7BC08D
accent
#DA724E
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A8378B

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

Preview Lab → · Contrast checker → · Palette generator →

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