#A23F8A#A23F8A

#A23F8A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.8% C 0.158 H 338.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A23F8A
RGBrgb(162, 63, 138)
HSLhsl(315, 44%, 44%)
HSVhsv(315, 61%, 64%)
CMYKcmyk(0%, 61.1%, 14.8%, 36.5%)
CIE-LABlab(42.87, 49.78, -21.68)
CIE-LCHlch(42.87, 54.29, 336.46°)
OKLaboklab(52.81% 0.1465 -0.0585)
OKLCHoklch(52.81% 0.158 338.2)
XYZxyz(21.2656, 13.0731, 25.4432)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23F8A #3FA257
analogous
#893FA2 #A23F8A #A23F59
triadic
#A23F8A #8AA23F #3F8AA2
tetradic
#A23F8A #A2893F #3FA257 #3F59A2
square
#A23F8A #A2893F #3FA257 #3F59A2
split-complementary
#A23F8A #59A23F #3FA289
monochromatic
#4A1D3F #762E64 #A23F8A #C05EA8 #D18AC0

Accessibility & contrast

On white

5.81
#A23F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A23F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23F8A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23F8A#FFFFFF#000000##FFFFFF
##A23F8A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#AA435F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a23f8a;
/* rgb */ color: rgb(162, 63, 138);
/* oklch */ color: oklch(52.8% 0.158 338.2);
Tailwind
colors: {
  custom: {
    50: '#c07aac',
    500: '#a23f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a23f8a;
$custom-light: #c07aac;
$custom-dark: #000000;
JSON
{
  "hex": "#a23f8a",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 314.545,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52811,
    "c": 0.15779,
    "h": 338.2
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#A23F8A
secondary
#81BC8F
accent
#D47354
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A23F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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