#A1248C#A1248C

#A1248C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.1% C 0.193 H 336.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A1248C
RGBrgb(161, 36, 140)
HSLhsl(310, 63%, 39%)
HSVhsv(310, 78%, 63%)
CMYKcmyk(0%, 77.6%, 13%, 36.9%)
CIE-LABlab(39.13, 60.08, -28.74)
CIE-LCHlch(39.13, 66.60, 334.43°)
OKLaboklab(50.09% 0.1763 -0.0785)
OKLCHoklch(50.09% 0.193 336)
XYZxyz(20.0628, 10.7341, 25.8211)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1248C #24A139
analogous
#7724A1 #A1248C #A1244D
triadic
#A1248C #8CA124 #248CA1
tetradic
#A1248C #A17724 #24A139 #244DA1
square
#A1248C #A17724 #24A139 #244DA1
split-complementary
#A1248C #4DA124 #24A177
monochromatic
#3D0E35 #6F1961 #A1248C #D131B6 #DC63C8

Accessibility & contrast

On white

6.67
#A1248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1248C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1248C#FFFFFF#000000##FFFFFF
##A1248C1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#A92E56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1248c;
/* rgb */ color: rgb(161, 36, 140);
/* oklch */ color: oklch(50.1% 0.193 336.0);
Tailwind
colors: {
  custom: {
    50: '#c16dae',
    500: '#a1248c',
    950: '#000000',
  },
}
SCSS
$custom: #a1248c;
$custom-light: #c16dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1248c",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 310.08,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.19298,
    "h": 336
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#A1248C
secondary
#5FC270
accent
#E65D41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1248C

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

Preview Lab → · Contrast checker → · Palette generator →

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