#A23162#A23162

#A23162 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.6% C 0.154 H 357.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A23162
RGBrgb(162, 49, 98)
HSLhsl(334, 54%, 41%)
HSVhsv(334, 70%, 64%)
CMYKcmyk(0%, 69.8%, 39.5%, 36.5%)
CIE-LABlab(39.18, 50.38, -2.51)
CIE-LCHlch(39.18, 50.45, 357.14°)
OKLaboklab(49.59% 0.1544 -0.006)
OKLCHoklch(49.59% 0.154 357.8)
XYZxyz(18.2044, 10.7620, 12.6715)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23162 #31A271
analogous
#A2319B #A23162 #A23831
triadic
#A23162 #62A231 #3162A2
tetradic
#A23162 #9BA231 #31A271 #3831A2
square
#A23162 #9BA231 #31A271 #3831A2
split-complementary
#A23162 #31A238 #319BA2
monochromatic
#441529 #732346 #A23162 #C84880 #D677A0

Accessibility & contrast

On white

6.66
#A23162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A23162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23162
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23162#FFFFFF#000000##FFFFFF
##A231621.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#65645F
Tritanopia (blue-blind)
#AF2545
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a23162;
/* rgb */ color: rgb(162, 49, 98);
/* oklch */ color: oklch(49.6% 0.154 357.8);
Tailwind
colors: {
  custom: {
    50: '#c2728e',
    500: '#a23162',
    950: '#000000',
  },
}
SCSS
$custom: #a23162;
$custom-light: #c2728e;
$custom-dark: #000000;
JSON
{
  "hex": "#a23162",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 333.982,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.15449,
    "h": 357.8
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#A23162
secondary
#71BE9D
accent
#DD9E4B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A23162

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

Preview Lab → · Contrast checker → · Palette generator →

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