#A1238B#A1238B

#A1238B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 50.0% C 0.193 H 336.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A1238B
RGBrgb(161, 35, 139)
HSLhsl(310, 64%, 38%)
HSVhsv(310, 78%, 63%)
CMYKcmyk(0%, 78.3%, 13.7%, 36.9%)
CIE-LABlab(38.98, 60.23, -28.37)
CIE-LCHlch(38.98, 66.58, 334.78°)
OKLaboklab(49.96% 0.1771 -0.0774)
OKLCHoklch(49.96% 0.193 336.4)
XYZxyz(19.9595, 10.6451, 25.4246)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1238B #23A139
analogous
#7823A1 #A1238B #A1234C
triadic
#A1238B #8BA123 #238BA1
tetradic
#A1238B #A17823 #23A139 #234CA1
square
#A1238B #A17823 #23A139 #234CA1
split-complementary
#A1238B #4CA123 #23A178
monochromatic
#3C0D34 #6F1860 #A1238B #D22FB5 #DD62C7

Accessibility & contrast

On white

6.71
#A1238B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A1238B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1238B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1238B#FFFFFF#000000##FFFFFF
##A1238B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#536288
Tritanopia (blue-blind)
#AA2D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1238b;
/* rgb */ color: rgb(161, 35, 139);
/* oklch */ color: oklch(50.0% 0.193 336.4);
Tailwind
colors: {
  custom: {
    50: '#c16dad',
    500: '#a1238b',
    950: '#000000',
  },
}
SCSS
$custom: #a1238b;
$custom-light: #c16dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a1238b",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 310.476,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.19326,
    "h": 336.4
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#A1238B
secondary
#5EC26F
accent
#E75E41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1238B

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

Preview Lab → · Contrast checker → · Palette generator →

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