#A1257C#A1257C

#A1257C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.181 H 342.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A1257C
RGBrgb(161, 37, 124)
HSLhsl(318, 63%, 39%)
HSVhsv(318, 77%, 63%)
CMYKcmyk(0%, 77%, 23%, 36.9%)
CIE-LABlab(38.48, 57.53, -19.88)
CIE-LCHlch(38.48, 60.87, 340.93°)
OKLaboklab(49.37% 0.1734 -0.0533)
OKLCHoklch(49.37% 0.181 342.9)
XYZxyz(18.9983, 10.3574, 20.0635)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1257C #25A14A
analogous
#8825A1 #A1257C #A1253E
triadic
#A1257C #7CA125 #257CA1
tetradic
#A1257C #A18825 #25A14A #253EA1
square
#A1257C #A18825 #25A14A #253EA1
split-complementary
#A1257C #3EA125 #25A188
monochromatic
#3D0E2F #6F1A56 #A1257C #D033A1 #DC65B8

Accessibility & contrast

On white

6.84
#A1257C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A1257C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1257C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1257C#FFFFFF#000000##FFFFFF
##A1257C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#AC264E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1257c;
/* rgb */ color: rgb(161, 37, 124);
/* oklch */ color: oklch(49.4% 0.181 342.9);
Tailwind
colors: {
  custom: {
    50: '#c16da2',
    500: '#a1257c',
    950: '#000000',
  },
}
SCSS
$custom: #a1257c;
$custom-light: #c16da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1257c",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 317.903,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.18138,
    "h": 342.9
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#A1257C
secondary
#61C17D
accent
#E67342
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A1257C

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

Preview Lab → · Contrast checker → · Palette generator →

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