#A1247B#A1247B

#A1247B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.182 H 343.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A1247B
RGBrgb(161, 36, 123)
HSLhsl(318, 63%, 39%)
HSVhsv(318, 78%, 63%)
CMYKcmyk(0%, 77.6%, 23.6%, 36.9%)
CIE-LABlab(38.32, 57.71, -19.50)
CIE-LCHlch(38.32, 60.91, 341.33°)
OKLaboklab(49.25% 0.1742 -0.0522)
OKLCHoklch(49.25% 0.182 343.3)
XYZxyz(18.9047, 10.2709, 19.7219)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1247B #24A14A
analogous
#8824A1 #A1247B #A1243C
triadic
#A1247B #7BA124 #247BA1
tetradic
#A1247B #A18824 #24A14A #243CA1
square
#A1247B #A18824 #24A14A #243CA1
split-complementary
#A1247B #3CA124 #24A188
monochromatic
#3D0E2F #6F1955 #A1247B #D131A0 #DC63B7

Accessibility & contrast

On white

6.88
#A1247B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A1247B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1247B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1247B#FFFFFF#000000##FFFFFF
##A1247B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#596278
Tritanopia (blue-blind)
#AC244D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1247b;
/* rgb */ color: rgb(161, 36, 123);
/* oklch */ color: oklch(49.2% 0.182 343.3);
Tailwind
colors: {
  custom: {
    50: '#c16da1',
    500: '#a1247b',
    950: '#000000',
  },
}
SCSS
$custom: #a1247b;
$custom-light: #c16da1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1247b",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 318.24,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.1818,
    "h": 343.3
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#A1247B
secondary
#5FC27D
accent
#E67441
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A1247B

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

Preview Lab → · Contrast checker → · Palette generator →

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