#A1248E#A1248E

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

Color values

HEX#A1248E
RGBrgb(161, 36, 142)
HSLhsl(309, 63%, 39%)
HSVhsv(309, 78%, 63%)
CMYKcmyk(0%, 77.6%, 11.8%, 36.9%)
CIE-LABlab(39.23, 60.38, -29.81)
CIE-LCHlch(39.23, 67.33, 333.72°)
OKLaboklab(50.19% 0.1765 -0.0815)
OKLCHoklch(50.19% 0.194 335.2)
XYZxyz(20.2116, 10.7937, 26.6049)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1248E #24A137
analogous
#7524A1 #A1248E #A1244F
triadic
#A1248E #8EA124 #248EA1
tetradic
#A1248E #A17524 #24A137 #244FA1
square
#A1248E #A17524 #24A137 #244FA1
split-complementary
#A1248E #4FA124 #24A175
monochromatic
#3D0E36 #6F1962 #A1248E #D131B9 #DC63CA

Accessibility & contrast

On white

6.65
#A1248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A1248E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1248E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1248E#FFFFFF#000000##FFFFFF
##A1248E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A92F57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1248e;
/* rgb */ color: rgb(161, 36, 142);
/* oklch */ color: oklch(50.2% 0.194 335.2);
Tailwind
colors: {
  custom: {
    50: '#c16daf',
    500: '#a1248e',
    950: '#000000',
  },
}
SCSS
$custom: #a1248e;
$custom-light: #c16daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a1248e",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 309.12,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50194,
    "c": 0.19437,
    "h": 335.2
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#A1248E
secondary
#5FC26E
accent
#E65A41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1248E

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

Preview Lab → · Contrast checker → · Palette generator →

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