#A1246F#A1246F

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

Color values

HEX#A1246F
RGBrgb(161, 36, 111)
HSLhsl(324, 63%, 39%)
HSVhsv(324, 78%, 63%)
CMYKcmyk(0%, 77.6%, 31.1%, 36.9%)
CIE-LABlab(37.82, 56.19, -12.76)
CIE-LCHlch(37.82, 57.62, 347.21°)
OKLaboklab(48.72% 0.1717 -0.0334)
OKLCHoklch(48.72% 0.175 349)
XYZxyz(18.1990, 9.9886, 16.0055)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1246F #24A156
analogous
#9424A1 #A1246F #A12430
triadic
#A1246F #6FA124 #246FA1
tetradic
#A1246F #A19424 #24A156 #2430A1
square
#A1246F #A19424 #24A156 #2430A1
split-complementary
#A1246F #30A124 #24A194
monochromatic
#3D0E2A #6F194D #A1246F #D13191 #DC63AC

Accessibility & contrast

On white

7.01
#A1246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A1246F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1246F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1246F#FFFFFF#000000##FFFFFF
##A1246F1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#5D616C
Tritanopia (blue-blind)
#AD1C47
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1246f;
/* rgb */ color: rgb(161, 36, 111);
/* oklch */ color: oklch(48.7% 0.175 349.0);
Tailwind
colors: {
  custom: {
    50: '#c16c98',
    500: '#a1246f',
    950: '#000000',
  },
}
SCSS
$custom: #a1246f;
$custom-light: #c16c98;
$custom-dark: #000000;
JSON
{
  "hex": "#a1246f",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 324,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.17491,
    "h": 349
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1246F

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

Preview Lab → · Contrast checker → · Palette generator →

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