#A1257E#A1257E

#A1257E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.183 H 342.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A1257E
RGBrgb(161, 37, 126)
HSLhsl(317, 63%, 39%)
HSVhsv(317, 77%, 63%)
CMYKcmyk(0%, 77%, 21.7%, 36.9%)
CIE-LABlab(38.57, 57.80, -20.99)
CIE-LCHlch(38.57, 61.49, 340.04°)
OKLaboklab(49.46% 0.1737 -0.0564)
OKLCHoklch(49.46% 0.183 342)
XYZxyz(19.1261, 10.4085, 20.7364)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1257E #25A148
analogous
#8625A1 #A1257E #A12540
triadic
#A1257E #7EA125 #257EA1
tetradic
#A1257E #A18625 #25A148 #2540A1
square
#A1257E #A18625 #25A148 #2540A1
split-complementary
#A1257E #40A125 #25A186
monochromatic
#3D0E30 #6F1A57 #A1257E #D033A4 #DC65BA

Accessibility & contrast

On white

6.82
#A1257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A1257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1257E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1257E#FFFFFF#000000##FFFFFF
##A1257E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#AB274F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1257e;
/* rgb */ color: rgb(161, 37, 126);
/* oklch */ color: oklch(49.5% 0.183 342.0);
Tailwind
colors: {
  custom: {
    50: '#c16da3',
    500: '#a1257e',
    950: '#000000',
  },
}
SCSS
$custom: #a1257e;
$custom-light: #c16da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1257e",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 316.935,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49464,
    "c": 0.18263,
    "h": 342
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#A1257E
secondary
#61C17C
accent
#E67042
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1257E

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

Preview Lab → · Contrast checker → · Palette generator →

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