#A1248B#A1248B

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

Color values

HEX#A1248B
RGBrgb(161, 36, 139)
HSLhsl(311, 63%, 39%)
HSVhsv(311, 78%, 63%)
CMYKcmyk(0%, 77.6%, 13.7%, 36.9%)
CIE-LABlab(39.08, 59.93, -28.21)
CIE-LCHlch(39.08, 66.24, 334.79°)
OKLaboklab(50.04% 0.1762 -0.0769)
OKLCHoklch(50.04% 0.192 336.4)
XYZxyz(19.9894, 10.7048, 25.4346)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1248B #24A13A
analogous
#7824A1 #A1248B #A1244C
triadic
#A1248B #8BA124 #248BA1
tetradic
#A1248B #A17824 #24A13A #244CA1
square
#A1248B #A17824 #24A13A #244CA1
split-complementary
#A1248B #4CA124 #24A178
monochromatic
#3D0E35 #6F1960 #A1248B #D131B5 #DC63C7

Accessibility & contrast

On white

6.69
#A1248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A1248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1248B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1248B#FFFFFF#000000##FFFFFF
##A1248B1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#536388
Tritanopia (blue-blind)
#AA2D56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1248b;
/* rgb */ color: rgb(161, 36, 139);
/* oklch */ color: oklch(50.0% 0.192 336.4);
Tailwind
colors: {
  custom: {
    50: '#c16dad',
    500: '#a1248b',
    950: '#000000',
  },
}
SCSS
$custom: #a1248b;
$custom-light: #c16dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a1248b",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 310.56,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.19227,
    "h": 336.4
  },
  "luminance": 0.10703
}

Semantic roles & 50–950 ramp

primary
#A1248B
secondary
#5FC271
accent
#E65E41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1248B

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

Preview Lab → · Contrast checker → · Palette generator →

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