#A1148C#A1148C

#A1148C is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.206 H 335.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A1148C
RGBrgb(161, 20, 140)
HSLhsl(309, 78%, 35%)
HSVhsv(309, 88%, 63%)
CMYKcmyk(0%, 87.6%, 13%, 36.9%)
CIE-LABlab(37.79, 63.94, -30.84)
CIE-LCHlch(37.79, 70.99, 334.25°)
OKLaboklab(49.13% 0.1878 -0.0844)
OKLCHoklch(49.13% 0.206 335.8)
XYZxyz(19.6821, 9.9727, 25.6942)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1148C #14A129
analogous
#6F14A1 #A1148C #A11445
triadic
#A1148C #8CA114 #148CA1
tetradic
#A1148C #A16F14 #14A129 #1445A1
square
#A1148C #A16F14 #14A129 #1445A1
split-complementary
#A1148C #45A114 #14A16F
monochromatic
#34062D #6B0D5D #A1148C #D71BBB #E847D0

Accessibility & contrast

On white

7.01
#A1148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A1148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1148C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1148C#FFFFFF#000000##FFFFFF
##A1148C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#AA2453
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1148c;
/* rgb */ color: rgb(161, 20, 140);
/* oklch */ color: oklch(49.1% 0.206 335.8);
Tailwind
colors: {
  custom: {
    50: '#c168ae',
    500: '#a1148c',
    950: '#000000',
  },
}
SCSS
$custom: #a1148c;
$custom-light: #c168ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1148c",
  "rgb": {
    "r": 161,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 308.936,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.2059,
    "h": 335.8
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#A1148C
secondary
#48C95B
accent
#F45033
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1148C

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

Preview Lab → · Contrast checker → · Palette generator →

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