#A23158#A23158

#A23158 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.3% C 0.151 H 3.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A23158
RGBrgb(162, 49, 88)
HSLhsl(339, 54%, 41%)
HSVhsv(339, 70%, 64%)
CMYKcmyk(0%, 69.8%, 45.7%, 36.5%)
CIE-LABlab(38.87, 49.34, 3.37)
CIE-LCHlch(38.87, 49.45, 3.90°)
OKLaboklab(49.27% 0.1509 0.0092)
OKLCHoklch(49.27% 0.151 3.5)
XYZxyz(17.7614, 10.5848, 10.3384)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23158 #31A27B
analogous
#A23191 #A23158 #A24331
triadic
#A23158 #58A231 #3158A2
tetradic
#A23158 #91A231 #31A27B #4331A2
square
#A23158 #91A231 #31A27B #4331A2
split-complementary
#A23158 #31A243 #3191A2
monochromatic
#441525 #73233E #A23158 #C84874 #D67798

Accessibility & contrast

On white

6.74
#A23158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A23158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23158
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23158#FFFFFF#000000##FFFFFF
##A231581.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E59
Deuteranopia (green-blind)
#676455
Tritanopia (blue-blind)
#B02041
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a23158;
/* rgb */ color: rgb(162, 49, 88);
/* oklch */ color: oklch(49.3% 0.151 3.5);
Tailwind
colors: {
  custom: {
    50: '#c27187',
    500: '#a23158',
    950: '#000000',
  },
}
SCSS
$custom: #a23158;
$custom-light: #c27187;
$custom-dark: #000000;
JSON
{
  "hex": "#a23158",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 339.292,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.15114,
    "h": 3.5
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#A23158
secondary
#71BEA3
accent
#DDAB4B
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A23158

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

Preview Lab → · Contrast checker → · Palette generator →

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