#A1248D#A1248D

#A1248D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.194 H 335.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A1248D
RGBrgb(161, 36, 141)
HSLhsl(310, 63%, 39%)
HSVhsv(310, 78%, 63%)
CMYKcmyk(0%, 77.6%, 12.4%, 36.9%)
CIE-LABlab(39.18, 60.23, -29.28)
CIE-LCHlch(39.18, 66.97, 334.08°)
OKLaboklab(50.14% 0.1764 -0.08)
OKLCHoklch(50.14% 0.194 335.6)
XYZxyz(20.1368, 10.7638, 26.2112)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1248D #24A138
analogous
#7624A1 #A1248D #A1244E
triadic
#A1248D #8DA124 #248DA1
tetradic
#A1248D #A17624 #24A138 #244EA1
square
#A1248D #A17624 #24A138 #244EA1
split-complementary
#A1248D #4EA124 #24A176
monochromatic
#3D0E35 #6F1961 #A1248D #D131B7 #DC63C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1248D#FFFFFF#000000##FFFFFF
##A1248D1.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)
#255090
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#A92E57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1248d;
/* rgb */ color: rgb(161, 36, 141);
/* oklch */ color: oklch(50.1% 0.194 335.6);
Tailwind
colors: {
  custom: {
    50: '#c16dae',
    500: '#a1248d',
    950: '#000000',
  },
}
SCSS
$custom: #a1248d;
$custom-light: #c16dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1248d",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 309.6,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.19366,
    "h": 335.6
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#A1248D
secondary
#5FC26F
accent
#E65C41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1248D

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

Preview Lab → · Contrast checker → · Palette generator →

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