#A5378B#A5378B

#A5378B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.172 H 338.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A5378B
RGBrgb(165, 55, 139)
HSLhsl(314, 50%, 43%)
HSVhsv(314, 67%, 65%)
CMYKcmyk(0%, 66.7%, 15.8%, 35.3%)
CIE-LABlab(42.15, 54.21, -23.37)
CIE-LCHlch(42.15, 59.03, 336.68°)
OKLaboklab(52.39% 0.1602 -0.0632)
OKLCHoklch(52.39% 0.172 338.5)
XYZxyz(21.5439, 12.5977, 25.7180)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5378B #37A551
analogous
#8837A5 #A5378B #A53754
triadic
#A5378B #8BA537 #378BA5
tetradic
#A5378B #A58837 #37A551 #3754A5
square
#A5378B #A58837 #37A551 #3754A5
split-complementary
#A5378B #54A537 #37A588
monochromatic
#49183E #772864 #A5378B #C653AB #D581C1

Accessibility & contrast

On white

5.97
#A5378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A5378B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5378B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5378B#FFFFFF#000000##FFFFFF
##A5378B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588D
Deuteranopia (green-blind)
#5E6A88
Tritanopia (blue-blind)
#AE3B5C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5378b;
/* rgb */ color: rgb(165, 55, 139);
/* oklch */ color: oklch(52.4% 0.172 338.5);
Tailwind
colors: {
  custom: {
    50: '#c376ad',
    500: '#a5378b',
    950: '#000000',
  },
}
SCSS
$custom: #a5378b;
$custom-light: #c376ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5378b",
  "rgb": {
    "r": 165,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 314.182,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.17219,
    "h": 338.5
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#A5378B
secondary
#79BF8A
accent
#DA6F4E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5378B

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

Preview Lab → · Contrast checker → · Palette generator →

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