#A23778#A23778

#A23778 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.157 H 346.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A23778
RGBrgb(162, 55, 120)
HSLhsl(324, 49%, 43%)
HSVhsv(324, 66%, 64%)
CMYKcmyk(0%, 66%, 25.9%, 36.5%)
CIE-LABlab(40.85, 50.64, -13.75)
CIE-LCHlch(40.85, 52.47, 344.81°)
OKLaboklab(51.08% 0.1531 -0.0363)
OKLCHoklch(51.08% 0.157 346.7)
XYZxyz(19.6574, 11.7718, 19.0026)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23778 #37A261
analogous
#9637A2 #A23778 #A23743
triadic
#A23778 #78A237 #3778A2
tetradic
#A23778 #A29637 #37A261 #3743A2
square
#A23778 #A29637 #37A261 #3743A2
split-complementary
#A23778 #43A237 #37A296
monochromatic
#471834 #742756 #A23778 #C45297 #D480B3

Accessibility & contrast

On white

6.26
#A23778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A23778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23778
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23778#FFFFFF#000000##FFFFFF
##A237781.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557A
Deuteranopia (green-blind)
#626775
Tritanopia (blue-blind)
#AD3452
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23778;
/* rgb */ color: rgb(162, 55, 120);
/* oklch */ color: oklch(51.1% 0.157 346.7);
Tailwind
colors: {
  custom: {
    50: '#c1759f',
    500: '#a23778',
    950: '#000000',
  },
}
SCSS
$custom: #a23778;
$custom-light: #c1759f;
$custom-dark: #000000;
JSON
{
  "hex": "#a23778",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 323.551,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.15738,
    "h": 346.7
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#A23778
secondary
#78BD93
accent
#D9854F
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A23778

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

Preview Lab → · Contrast checker → · Palette generator →

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