#A12256#A12256

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

Color values

HEX#A12256
RGBrgb(161, 34, 86)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 79%, 63%)
CMYKcmyk(0%, 78.9%, 46.6%, 36.9%)
CIE-LABlab(36.73, 54.14, 1.53)
CIE-LCHlch(36.73, 54.16, 1.62°)
OKLaboklab(47.64% 0.1662 0.0045)
OKLCHoklch(47.64% 0.166 1.6)
XYZxyz(16.9511, 9.3953, 9.7232)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12256 #22A16D
analogous
#A12295 #A12256 #A12D22
triadic
#A12256 #56A122 #2256A1
tetradic
#A12256 #95A122 #22A16D #2D22A1
square
#A12256 #95A122 #22A16D #2D22A1
split-complementary
#A12256 #22A12D #2295A1
monochromatic
#3C0D20 #6E173B #A12256 #D32D71 #DD6093

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12256#FFFFFF#000000##FFFFFF
##A122561.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)
#404757
Deuteranopia (green-blind)
#635F53
Tritanopia (blue-blind)
#AF0239
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12256;
/* rgb */ color: rgb(161, 34, 86);
/* oklch */ color: oklch(47.6% 0.166 1.6);
Tailwind
colors: {
  custom: {
    50: '#c26b85',
    500: '#a12256',
    950: '#000000',
  },
}
SCSS
$custom: #a12256;
$custom-light: #c26b85;
$custom-dark: #000000;
JSON
{
  "hex": "#a12256",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 335.433,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.16625,
    "h": 1.6
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#A12256
secondary
#5DC299
accent
#E8A340
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12256

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

Preview Lab → · Contrast checker → · Palette generator →

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