#A1258C#A1258C

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

Color values

HEX#A1258C
RGBrgb(161, 37, 140)
HSLhsl(310, 63%, 39%)
HSVhsv(310, 77%, 63%)
CMYKcmyk(0%, 77%, 13%, 36.9%)
CIE-LABlab(39.23, 59.78, -28.58)
CIE-LCHlch(39.23, 66.26, 334.45°)
OKLaboklab(50.16% 0.1754 -0.078)
OKLCHoklch(50.16% 0.192 336)
XYZxyz(20.0935, 10.7955, 25.8314)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1258C #25A13A
analogous
#7825A1 #A1258C #A1254E
triadic
#A1258C #8CA125 #258CA1
tetradic
#A1258C #A17825 #25A13A #254EA1
square
#A1258C #A17825 #25A13A #254EA1
split-complementary
#A1258C #4EA125 #25A178
monochromatic
#3D0E35 #6F1A61 #A1258C #D033B6 #DC65C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1258C#FFFFFF#000000##FFFFFF
##A1258C1.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)
#27518F
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#A92F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1258c;
/* rgb */ color: rgb(161, 37, 140);
/* oklch */ color: oklch(50.2% 0.192 336.0);
Tailwind
colors: {
  custom: {
    50: '#c16eae',
    500: '#a1258c',
    950: '#000000',
  },
}
SCSS
$custom: #a1258c;
$custom-light: #c16eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1258c",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 310.161,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.19196,
    "h": 336
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#A1258C
secondary
#61C171
accent
#E65E42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1258C

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

Preview Lab → · Contrast checker → · Palette generator →

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