#A1148B#A1148B

#A1148B is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.205 H 336.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A1148B
RGBrgb(161, 20, 139)
HSLhsl(309, 78%, 35%)
HSVhsv(309, 88%, 63%)
CMYKcmyk(0%, 87.6%, 13.7%, 36.9%)
CIE-LABlab(37.74, 63.80, -30.31)
CIE-LCHlch(37.74, 70.64, 334.59°)
OKLaboklab(49.08% 0.1878 -0.0828)
OKLCHoklch(49.08% 0.205 336.2)
XYZxyz(19.6087, 9.9434, 25.3077)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1148B #14A12A
analogous
#7114A1 #A1148B #A11444
triadic
#A1148B #8BA114 #148BA1
tetradic
#A1148B #A17114 #14A12A #1444A1
square
#A1148B #A17114 #14A12A #1444A1
split-complementary
#A1148B #44A114 #14A171
monochromatic
#34062D #6B0D5C #A1148B #D71BBA #E847CF

Accessibility & contrast

On white

7.03
#A1148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1148B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1148B#FFFFFF#000000##FFFFFF
##A1148B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#AA2352
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1148b;
/* rgb */ color: rgb(161, 20, 139);
/* oklch */ color: oklch(49.1% 0.205 336.2);
Tailwind
colors: {
  custom: {
    50: '#c168ad',
    500: '#a1148b',
    950: '#000000',
  },
}
SCSS
$custom: #a1148b;
$custom-light: #c168ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a1148b",
  "rgb": {
    "r": 161,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 309.362,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49077,
    "c": 0.20524,
    "h": 336.2
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#A1148B
secondary
#48C95C
accent
#F45233
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1148B

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

Preview Lab → · Contrast checker → · Palette generator →

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