#A12048#A12048

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

Color values

HEX#A12048
RGBrgb(161, 32, 72)
HSLhsl(341, 67%, 38%)
HSVhsv(341, 80%, 63%)
CMYKcmyk(0%, 80.1%, 55.3%, 36.9%)
CIE-LABlab(36.14, 53.54, 9.70)
CIE-LCHlch(36.14, 54.41, 10.27°)
OKLaboklab(47.07% 0.1629 0.0247)
OKLCHoklch(47.07% 0.165 8.6)
XYZxyz(16.3857, 9.0803, 7.0195)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12048 #20A179
analogous
#A12089 #A12048 #A13820
triadic
#A12048 #48A120 #2048A1
tetradic
#A12048 #89A120 #20A179 #3820A1
square
#A12048 #89A120 #20A179 #3820A1
split-complementary
#A12048 #20A138 #2089A1
monochromatic
#3B0C1A #6E1631 #A12048 #D42A5F #DF5D85

Accessibility & contrast

On white

7.46
#A12048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A12048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12048
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12048#FFFFFF#000000##FFFFFF
##A120481.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12048;
/* rgb */ color: rgb(161, 32, 72);
/* oklch */ color: oklch(47.1% 0.165 8.6);
Tailwind
colors: {
  custom: {
    50: '#c3697a',
    500: '#a12048',
    950: '#000000',
  },
}
SCSS
$custom: #a12048;
$custom-light: #c3697a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12048",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 341.395,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47072,
    "c": 0.16475,
    "h": 8.6
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#A12048
secondary
#5AC3A2
accent
#EAB53E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12048

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

Preview Lab → · Contrast checker → · Palette generator →

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