#A12258#A12258

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

Color values

HEX#A12258
RGBrgb(161, 34, 88)
HSLhsl(334, 65%, 38%)
HSVhsv(334, 79%, 63%)
CMYKcmyk(0%, 78.9%, 45.3%, 36.9%)
CIE-LABlab(36.80, 54.33, 0.33)
CIE-LCHlch(36.80, 54.33, 0.35°)
OKLaboklab(47.7% 0.1669 0.0015)
OKLCHoklch(47.7% 0.167 0.5)
XYZxyz(17.0328, 9.4280, 10.1535)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12258 #22A16B
analogous
#A12297 #A12258 #A12B22
triadic
#A12258 #58A122 #2258A1
tetradic
#A12258 #97A122 #22A16B #2B22A1
square
#A12258 #97A122 #22A16B #2B22A1
split-complementary
#A12258 #22A12B #2297A1
monochromatic
#3C0D21 #6E173C #A12258 #D32D74 #DD6095

Accessibility & contrast

On white

7.28
#A12258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A12258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12258
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12258#FFFFFF#000000##FFFFFF
##A122581.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#625F55
Tritanopia (blue-blind)
#AF043A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12258;
/* rgb */ color: rgb(161, 34, 88);
/* oklch */ color: oklch(47.7% 0.167 0.5);
Tailwind
colors: {
  custom: {
    50: '#c26b87',
    500: '#a12258',
    950: '#000000',
  },
}
SCSS
$custom: #a12258;
$custom-light: #c26b87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12258",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 334.488,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47701,
    "c": 0.16689,
    "h": 0.5
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#A12258
secondary
#5DC297
accent
#E8A040
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12258

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

Preview Lab → · Contrast checker → · Palette generator →

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