#A12257#A12257

#A12257 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.167 H 1.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A12257
RGBrgb(161, 34, 87)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 79%, 63%)
CMYKcmyk(0%, 78.9%, 46%, 36.9%)
CIE-LABlab(36.76, 54.23, 0.93)
CIE-LCHlch(36.76, 54.24, 0.98°)
OKLaboklab(47.67% 0.1665 0.003)
OKLCHoklch(47.67% 0.167 1)
XYZxyz(16.9916, 9.4115, 9.9368)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12257 #22A16C
analogous
#A12296 #A12257 #A12D22
triadic
#A12257 #57A122 #2257A1
tetradic
#A12257 #96A122 #22A16C #2D22A1
square
#A12257 #96A122 #22A16C #2D22A1
split-complementary
#A12257 #22A12D #2296A1
monochromatic
#3C0D20 #6E173C #A12257 #D32D72 #DD6094

Accessibility & contrast

On white

7.29
#A12257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12257
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12257#FFFFFF#000000##FFFFFF
##A122571.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404758
Deuteranopia (green-blind)
#625F54
Tritanopia (blue-blind)
#AF033A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12257;
/* rgb */ color: rgb(161, 34, 87);
/* oklch */ color: oklch(47.7% 0.167 1.0);
Tailwind
colors: {
  custom: {
    50: '#c26b86',
    500: '#a12257',
    950: '#000000',
  },
}
SCSS
$custom: #a12257;
$custom-light: #c26b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a12257",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 334.961,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47668,
    "c": 0.16657,
    "h": 1
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#A12257
secondary
#5DC298
accent
#E8A240
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12257

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

Preview Lab → · Contrast checker → · Palette generator →

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