#A12255#A12255

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

Color values

HEX#A12255
RGBrgb(161, 34, 85)
HSLhsl(336, 65%, 38%)
HSVhsv(336, 79%, 63%)
CMYKcmyk(0%, 78.9%, 47.2%, 36.9%)
CIE-LABlab(36.70, 54.05, 2.13)
CIE-LCHlch(36.70, 54.09, 2.25°)
OKLaboklab(47.6% 0.1658 0.006)
OKLCHoklch(47.6% 0.166 2.1)
XYZxyz(16.9111, 9.3793, 9.5124)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12255 #22A16E
analogous
#A12294 #A12255 #A12F22
triadic
#A12255 #55A122 #2255A1
tetradic
#A12255 #94A122 #22A16E #2F22A1
square
#A12255 #94A122 #22A16E #2F22A1
split-complementary
#A12255 #22A12F #2294A1
monochromatic
#3C0D20 #6E173A #A12255 #D32D70 #DD6092

Accessibility & contrast

On white

7.30
#A12255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A12255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12255
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12255#FFFFFF#000000##FFFFFF
##A122551.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414756
Deuteranopia (green-blind)
#635F52
Tritanopia (blue-blind)
#AF0139
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12255;
/* rgb */ color: rgb(161, 34, 85);
/* oklch */ color: oklch(47.6% 0.166 2.1);
Tailwind
colors: {
  custom: {
    50: '#c26b84',
    500: '#a12255',
    950: '#000000',
  },
}
SCSS
$custom: #a12255;
$custom-light: #c26b84;
$custom-dark: #000000;
JSON
{
  "hex": "#a12255",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 335.906,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47604,
    "c": 0.16595,
    "h": 2.1
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#A12255
secondary
#5DC299
accent
#E8A440
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A12255

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

Preview Lab → · Contrast checker → · Palette generator →

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