#A23478#A23478

#A23478 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.162 H 346.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A23478
RGBrgb(162, 52, 120)
HSLhsl(323, 51%, 42%)
HSVhsv(323, 68%, 64%)
CMYKcmyk(0%, 67.9%, 25.9%, 36.5%)
CIE-LABlab(40.40, 51.88, -14.43)
CIE-LCHlch(40.40, 53.85, 344.46°)
OKLaboklab(50.75% 0.1569 -0.0382)
OKLCHoklch(50.75% 0.162 346.3)
XYZxyz(19.5192, 11.4954, 18.9565)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23478 #34A25E
analogous
#9534A2 #A23478 #A23441
triadic
#A23478 #78A234 #3478A2
tetradic
#A23478 #A29534 #34A25E #3441A2
square
#A23478 #A29534 #34A25E #3441A2
split-complementary
#A23478 #41A234 #34A295
monochromatic
#451633 #742556 #A23478 #C64D98 #D57CB3

Accessibility & contrast

On white

6.37
#A23478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A23478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23478
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23478#FFFFFF#000000##FFFFFF
##A234781.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#616675
Tritanopia (blue-blind)
#AD3251
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a23478;
/* rgb */ color: rgb(162, 52, 120);
/* oklch */ color: oklch(50.8% 0.162 346.3);
Tailwind
colors: {
  custom: {
    50: '#c1749f',
    500: '#a23478',
    950: '#000000',
  },
}
SCSS
$custom: #a23478;
$custom-light: #c1749f;
$custom-dark: #000000;
JSON
{
  "hex": "#a23478",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 322.909,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.16152,
    "h": 346.3
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#A23478
secondary
#74BE90
accent
#DB834D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A23478

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

Preview Lab → · Contrast checker → · Palette generator →

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