#A1257F#A1257F

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

Color values

HEX#A1257F
RGBrgb(161, 37, 127)
HSLhsl(316, 63%, 39%)
HSVhsv(316, 77%, 63%)
CMYKcmyk(0%, 77%, 21.1%, 36.9%)
CIE-LABlab(38.61, 57.94, -21.54)
CIE-LCHlch(38.61, 61.81, 339.61°)
OKLaboklab(49.51% 0.1739 -0.0579)
OKLCHoklch(49.51% 0.183 341.6)
XYZxyz(19.1909, 10.4345, 21.0779)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1257F #25A147
analogous
#8525A1 #A1257F #A12541
triadic
#A1257F #7FA125 #257FA1
tetradic
#A1257F #A18525 #25A147 #2541A1
square
#A1257F #A18525 #25A147 #2541A1
split-complementary
#A1257F #41A125 #25A185
monochromatic
#3D0E30 #6F1A58 #A1257F #D033A5 #DC65BB

Accessibility & contrast

On white

6.80
#A1257F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A1257F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1257F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1257F#FFFFFF#000000##FFFFFF
##A1257F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#AB274F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1257f;
/* rgb */ color: rgb(161, 37, 127);
/* oklch */ color: oklch(49.5% 0.183 341.6);
Tailwind
colors: {
  custom: {
    50: '#c16da4',
    500: '#a1257f',
    950: '#000000',
  },
}
SCSS
$custom: #a1257f;
$custom-light: #c16da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1257f",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 316.452,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.18327,
    "h": 341.6
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#A1257F
secondary
#61C17B
accent
#E66F42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1257F

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

Preview Lab → · Contrast checker → · Palette generator →

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