#A1247E#A1247E

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

Color values

HEX#A1247E
RGBrgb(161, 36, 126)
HSLhsl(317, 63%, 39%)
HSVhsv(317, 78%, 63%)
CMYKcmyk(0%, 77.6%, 21.7%, 36.9%)
CIE-LABlab(38.46, 58.11, -21.16)
CIE-LCHlch(38.46, 61.84, 339.99°)
OKLaboklab(49.39% 0.1747 -0.0568)
OKLCHoklch(49.39% 0.184 342)
XYZxyz(19.0954, 10.3472, 20.7262)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1247E #24A147
analogous
#8524A1 #A1247E #A1243F
triadic
#A1247E #7EA124 #247EA1
tetradic
#A1247E #A18524 #24A147 #243FA1
square
#A1247E #A18524 #24A147 #243FA1
split-complementary
#A1247E #3FA124 #24A185
monochromatic
#3D0E30 #6F1957 #A1247E #D131A4 #DC63BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1247E#FFFFFF#000000##FFFFFF
##A1247E1.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)
#304E80
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#AB264F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1247e;
/* rgb */ color: rgb(161, 36, 126);
/* oklch */ color: oklch(49.4% 0.184 342.0);
Tailwind
colors: {
  custom: {
    50: '#c16da3',
    500: '#a1247e',
    950: '#000000',
  },
}
SCSS
$custom: #a1247e;
$custom-light: #c16da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1247e",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 316.8,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.18367,
    "h": 342
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#A1247E
secondary
#5FC27B
accent
#E67041
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1247E

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

Preview Lab → · Contrast checker → · Palette generator →

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