#A1245B#A1245B

#A1245B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.166 H 359.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A1245B
RGBrgb(161, 36, 91)
HSLhsl(334, 63%, 39%)
HSVhsv(334, 78%, 63%)
CMYKcmyk(0%, 77.6%, 43.5%, 36.9%)
CIE-LABlab(37.11, 54.00, -1.13)
CIE-LCHlch(37.11, 54.01, 358.80°)
OKLaboklab(47.96% 0.1659 -0.0023)
OKLCHoklch(47.96% 0.166 359.2)
XYZxyz(17.2185, 9.5964, 10.8411)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1245B #24A16A
analogous
#A12499 #A1245B #A12B24
triadic
#A1245B #5BA124 #245BA1
tetradic
#A1245B #99A124 #24A16A #2B24A1
square
#A1245B #99A124 #24A16A #2B24A1
split-complementary
#A1245B #24A12B #2499A1
monochromatic
#3D0E22 #6F193F #A1245B #D13178 #DC6398

Accessibility & contrast

On white

7.19
#A1245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A1245B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1245B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1245B#FFFFFF#000000##FFFFFF
##A1245B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485C
Deuteranopia (green-blind)
#626058
Tritanopia (blue-blind)
#AF0D3C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a1245b;
/* rgb */ color: rgb(161, 36, 91);
/* oklch */ color: oklch(48.0% 0.166 359.2);
Tailwind
colors: {
  custom: {
    50: '#c26b89',
    500: '#a1245b',
    950: '#000000',
  },
}
SCSS
$custom: #a1245b;
$custom-light: #c26b89;
$custom-dark: #000000;
JSON
{
  "hex": "#a1245b",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 333.6,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.16594,
    "h": 359.2
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#A1245B
secondary
#5FC296
accent
#E69E41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A1245B

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

Preview Lab → · Contrast checker → · Palette generator →

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