#A1245E#A1245E

#A1245E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.167 H 357.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A1245E
RGBrgb(161, 36, 94)
HSLhsl(332, 63%, 39%)
HSVhsv(332, 78%, 63%)
CMYKcmyk(0%, 77.6%, 41.6%, 36.9%)
CIE-LABlab(37.21, 54.30, -2.90)
CIE-LCHlch(37.21, 54.38, 356.94°)
OKLaboklab(48.06% 0.1669 -0.0069)
OKLCHoklch(48.06% 0.167 357.6)
XYZxyz(17.3505, 9.6492, 11.5363)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1245E #24A167
analogous
#A1249C #A1245E #A12824
triadic
#A1245E #5EA124 #245EA1
tetradic
#A1245E #9CA124 #24A167 #2824A1
square
#A1245E #9CA124 #24A167 #2824A1
split-complementary
#A1245E #24A128 #249CA1
monochromatic
#3D0E24 #6F1941 #A1245E #D1317B #DC639B

Accessibility & contrast

On white

7.17
#A1245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A1245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1245E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1245E#FFFFFF#000000##FFFFFF
##A1245E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F495F
Deuteranopia (green-blind)
#61605B
Tritanopia (blue-blind)
#AF103E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1245e;
/* rgb */ color: rgb(161, 36, 94);
/* oklch */ color: oklch(48.1% 0.167 357.6);
Tailwind
colors: {
  custom: {
    50: '#c26c8b',
    500: '#a1245e',
    950: '#000000',
  },
}
SCSS
$custom: #a1245e;
$custom-light: #c26c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1245e",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 332.16,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.16704,
    "h": 357.6
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#A1245E
secondary
#5FC294
accent
#E69A41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #A1245E

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

Preview Lab → · Contrast checker → · Palette generator →

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