#A1246E#A1246E

#A1246E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.174 H 349.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A1246E
RGBrgb(161, 36, 110)
HSLhsl(324, 63%, 39%)
HSVhsv(324, 78%, 63%)
CMYKcmyk(0%, 77.6%, 31.7%, 36.9%)
CIE-LABlab(37.78, 56.08, -12.19)
CIE-LCHlch(37.78, 57.38, 347.74°)
OKLaboklab(48.68% 0.1714 -0.0319)
OKLCHoklch(48.68% 0.174 349.5)
XYZxyz(18.1443, 9.9667, 15.7171)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1246E #24A157
analogous
#9524A1 #A1246E #A1242F
triadic
#A1246E #6EA124 #246EA1
tetradic
#A1246E #A19524 #24A157 #242FA1
square
#A1246E #A19524 #24A157 #242FA1
split-complementary
#A1246E #2FA124 #24A195
monochromatic
#3D0E2A #6F194C #A1246E #D13190 #DC63AB

Accessibility & contrast

On white

7.02
#A1246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A1246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1246E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1246E#FFFFFF#000000##FFFFFF
##A1246E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#5D616B
Tritanopia (blue-blind)
#AD1C46
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1246e;
/* rgb */ color: rgb(161, 36, 110);
/* oklch */ color: oklch(48.7% 0.174 349.5);
Tailwind
colors: {
  custom: {
    50: '#c16c97',
    500: '#a1246e',
    950: '#000000',
  },
}
SCSS
$custom: #a1246e;
$custom-light: #c16c97;
$custom-dark: #000000;
JSON
{
  "hex": "#a1246e",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 324.48,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48675,
    "c": 0.17438,
    "h": 349.5
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#A1246E
secondary
#5FC287
accent
#E68541
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A1246E

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

Preview Lab → · Contrast checker → · Palette generator →

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