#A12254#A12254

#A12254 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 2.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A12254
RGBrgb(161, 34, 84)
HSLhsl(336, 65%, 38%)
HSVhsv(336, 79%, 63%)
CMYKcmyk(0%, 78.9%, 47.8%, 36.9%)
CIE-LABlab(36.67, 53.95, 2.73)
CIE-LCHlch(36.67, 54.02, 2.89°)
OKLaboklab(47.57% 0.1655 0.0076)
OKLCHoklch(47.57% 0.166 2.6)
XYZxyz(16.8716, 9.3635, 9.3047)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12254 #22A16F
analogous
#A12293 #A12254 #A12F22
triadic
#A12254 #54A122 #2254A1
tetradic
#A12254 #93A122 #22A16F #2F22A1
square
#A12254 #93A122 #22A16F #2F22A1
split-complementary
#A12254 #22A12F #2293A1
monochromatic
#3C0D1F #6E173A #A12254 #D32D6F #DD6091

Accessibility & contrast

On white

7.31
#A12254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12254
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12254#FFFFFF#000000##FFFFFF
##A122541.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414755
Deuteranopia (green-blind)
#635F51
Tritanopia (blue-blind)
#AF0038
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12254;
/* rgb */ color: rgb(161, 34, 84);
/* oklch */ color: oklch(47.6% 0.166 2.6);
Tailwind
colors: {
  custom: {
    50: '#c26a83',
    500: '#a12254',
    950: '#000000',
  },
}
SCSS
$custom: #a12254;
$custom-light: #c26a83;
$custom-dark: #000000;
JSON
{
  "hex": "#a12254",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 336.378,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.16565,
    "h": 2.6
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#A12254
secondary
#5DC29A
accent
#E8A640
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A12254

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

Preview Lab → · Contrast checker → · Palette generator →

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