#A23882#A23882

#A23882 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.162 H 341.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A23882
RGBrgb(162, 56, 130)
HSLhsl(318, 49%, 43%)
HSVhsv(318, 65%, 64%)
CMYKcmyk(0%, 65.4%, 19.8%, 36.5%)
CIE-LABlab(41.41, 51.63, -19.05)
CIE-LCHlch(41.41, 55.03, 339.75°)
OKLaboklab(51.63% 0.1541 -0.0511)
OKLCHoklch(51.63% 0.162 341.7)
XYZxyz(20.3443, 12.1233, 22.3834)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23882 #38A258
analogous
#8D38A2 #A23882 #A2384D
triadic
#A23882 #82A238 #3882A2
tetradic
#A23882 #A28D38 #38A258 #384DA2
square
#A23882 #A28D38 #38A258 #384DA2
split-complementary
#A23882 #4DA238 #38A28D
monochromatic
#471939 #75285E #A23882 #C453A2 #D381BB

Accessibility & contrast

On white

6.13
#A23882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A23882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23882
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23882#FFFFFF#000000##FFFFFF
##A238821.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#AC3958
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23882;
/* rgb */ color: rgb(162, 56, 130);
/* oklch */ color: oklch(51.6% 0.162 341.7);
Tailwind
colors: {
  custom: {
    50: '#c176a6',
    500: '#a23882',
    950: '#000000',
  },
}
SCSS
$custom: #a23882;
$custom-light: #c176a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23882",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 318.113,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.16237,
    "h": 341.7
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#A23882
secondary
#79BD8D
accent
#D87950
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A23882

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

Preview Lab → · Contrast checker → · Palette generator →

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