#A23178#A23178

#A23178 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.166 H 346.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A23178
RGBrgb(162, 49, 120)
HSLhsl(322, 54%, 41%)
HSVhsv(322, 70%, 64%)
CMYKcmyk(0%, 69.8%, 25.9%, 36.5%)
CIE-LABlab(39.98, 53.07, -15.08)
CIE-LCHlch(39.98, 55.17, 344.13°)
OKLaboklab(50.44% 0.1606 -0.0399)
OKLCHoklch(50.44% 0.166 346)
XYZxyz(19.3896, 11.2361, 18.9133)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23178 #31A25B
analogous
#9431A2 #A23178 #A23140
triadic
#A23178 #78A231 #3178A2
tetradic
#A23178 #A29431 #31A25B #3140A2
square
#A23178 #A29431 #31A25B #3140A2
split-complementary
#A23178 #40A231 #31A294
monochromatic
#441532 #732355 #A23178 #C84898 #D677B3

Accessibility & contrast

On white

6.47
#A23178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A23178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23178
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23178#FFFFFF#000000##FFFFFF
##A231781.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527A
Deuteranopia (green-blind)
#606575
Tritanopia (blue-blind)
#AD2F50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a23178;
/* rgb */ color: rgb(162, 49, 120);
/* oklch */ color: oklch(50.4% 0.166 346.0);
Tailwind
colors: {
  custom: {
    50: '#c1729f',
    500: '#a23178',
    950: '#000000',
  },
}
SCSS
$custom: #a23178;
$custom-light: #c1729f;
$custom-dark: #000000;
JSON
{
  "hex": "#a23178",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 322.301,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.1655,
    "h": 346
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#A23178
secondary
#71BE8D
accent
#DD814B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A23178

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

Preview Lab → · Contrast checker → · Palette generator →

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