#A23166#A23166

#A23166 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.156 H 355.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A23166
RGBrgb(162, 49, 102)
HSLhsl(332, 54%, 41%)
HSVhsv(332, 70%, 64%)
CMYKcmyk(0%, 69.8%, 37%, 36.5%)
CIE-LABlab(39.31, 50.83, -4.84)
CIE-LCHlch(39.31, 51.06, 354.56°)
OKLaboklab(49.73% 0.1557 -0.0121)
OKLCHoklch(49.73% 0.156 355.6)
XYZxyz(18.3980, 10.8395, 13.6912)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23166 #31A26D
analogous
#A2319F #A23166 #A23431
triadic
#A23166 #66A231 #3166A2
tetradic
#A23166 #9FA231 #31A26D #3431A2
square
#A23166 #9FA231 #31A26D #3431A2
split-complementary
#A23166 #31A234 #319FA2
monochromatic
#44152B #732348 #A23166 #C84884 #D677A4

Accessibility & contrast

On white

6.63
#A23166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A23166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23166
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23166#FFFFFF#000000##FFFFFF
##A231661.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F67
Deuteranopia (green-blind)
#656463
Tritanopia (blue-blind)
#AF2747
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a23166;
/* rgb */ color: rgb(162, 49, 102);
/* oklch */ color: oklch(49.7% 0.156 355.6);
Tailwind
colors: {
  custom: {
    50: '#c27291',
    500: '#a23166',
    950: '#000000',
  },
}
SCSS
$custom: #a23166;
$custom-light: #c27291;
$custom-dark: #000000;
JSON
{
  "hex": "#a23166",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 331.858,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.15613,
    "h": 355.6
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#A23166
secondary
#71BE9A
accent
#DD984B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A23166

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

Preview Lab → · Contrast checker → · Palette generator →

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