#A12546#A12546

#A12546 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.160 H 10.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A12546
RGBrgb(161, 37, 70)
HSLhsl(344, 63%, 39%)
HSVhsv(344, 77%, 63%)
CMYKcmyk(0%, 77%, 56.5%, 36.9%)
CIE-LABlab(36.64, 51.84, 11.68)
CIE-LCHlch(36.64, 53.14, 12.70°)
OKLaboklab(47.43% 0.1571 0.0294)
OKLCHoklch(47.43% 0.16 10.6)
XYZxyz(16.4666, 9.3448, 6.7298)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12546 #25A180
analogous
#A12584 #A12546 #A14225
triadic
#A12546 #46A125 #2546A1
tetradic
#A12546 #84A125 #25A180 #4225A1
square
#A12546 #84A125 #25A180 #4225A1
split-complementary
#A12546 #25A142 #2584A1
monochromatic
#3D0E1B #6F1A30 #A12546 #D0335D #DC6584

Accessibility & contrast

On white

7.32
#A12546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A12546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12546
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12546#FFFFFF#000000##FFFFFF
##A125461.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464647
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#B00033
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12546;
/* rgb */ color: rgb(161, 37, 70);
/* oklch */ color: oklch(47.4% 0.160 10.6);
Tailwind
colors: {
  custom: {
    50: '#c36b79',
    500: '#a12546',
    950: '#000000',
  },
}
SCSS
$custom: #a12546;
$custom-light: #c36b79;
$custom-dark: #000000;
JSON
{
  "hex": "#a12546",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 70
  },
  "hsl": {
    "h": 344.032,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47426,
    "c": 0.15983,
    "h": 10.6
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#A12546
secondary
#61C1A7
accent
#E6BA42
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12546

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

Preview Lab → · Contrast checker → · Palette generator →

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