#A12148#A12148

#A12148 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 8.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#A12148
RGBrgb(161, 33, 72)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 80%, 63%)
CMYKcmyk(0%, 79.5%, 55.3%, 36.9%)
CIE-LABlab(36.24, 53.25, 9.84)
CIE-LCHlch(36.24, 54.15, 10.47°)
OKLaboklab(47.15% 0.1619 0.025)
OKLCHoklch(47.15% 0.164 8.8)
XYZxyz(16.4131, 9.1350, 7.0286)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12148 #21A17A
analogous
#A12188 #A12148 #A13A21
triadic
#A12148 #48A121 #2148A1
tetradic
#A12148 #88A121 #21A17A #3A21A1
square
#A12148 #88A121 #21A17A #3A21A1
split-complementary
#A12148 #21A13A #2188A1
monochromatic
#3B0C1B #6E1731 #A12148 #D42C5F #DE5E85

Accessibility & contrast

On white

7.43
#A12148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A12148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12148
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12148#FFFFFF#000000##FFFFFF
##A121481.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444549
Deuteranopia (green-blind)
#655E45
Tritanopia (blue-blind)
#B00032
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12148;
/* rgb */ color: rgb(161, 33, 72);
/* oklch */ color: oklch(47.1% 0.164 8.8);
Tailwind
colors: {
  custom: {
    50: '#c36a7a',
    500: '#a12148',
    950: '#000000',
  },
}
SCSS
$custom: #a12148;
$custom-light: #c36a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12148",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 341.719,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.16386,
    "h": 8.8
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#A12148
secondary
#5BC3A3
accent
#E9B53F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12148

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

Preview Lab → · Contrast checker → · Palette generator →

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