#A12E58#A12E58

#A12E58 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.154 H 2.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A12E58
RGBrgb(161, 46, 88)
HSLhsl(338, 56%, 41%)
HSVhsv(338, 71%, 63%)
CMYKcmyk(0%, 71.4%, 45.3%, 36.9%)
CIE-LABlab(38.27, 50.20, 2.47)
CIE-LCHlch(38.27, 50.27, 2.81°)
OKLaboklab(48.78% 0.1537 0.0069)
OKLCHoklch(48.78% 0.154 2.6)
XYZxyz(17.4377, 10.2379, 10.2885)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E58 #2EA177
analogous
#A12E91 #A12E58 #A13D2E
triadic
#A12E58 #58A12E #2E58A1
tetradic
#A12E58 #91A12E #2EA177 #3D2EA1
square
#A12E58 #91A12E #2EA177 #3D2EA1
split-complementary
#A12E58 #2EA13D #2E91A1
monochromatic
#421324 #71203E #A12E58 #C94374 #D77397

Accessibility & contrast

On white

6.89
#A12E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E58
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E58#FFFFFF#000000##FFFFFF
##A12E581.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#666255
Tritanopia (blue-blind)
#AF1C3F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e58;
/* rgb */ color: rgb(161, 46, 88);
/* oklch */ color: oklch(48.8% 0.154 2.6);
Tailwind
colors: {
  custom: {
    50: '#c27087',
    500: '#a12e58',
    950: '#000000',
  },
}
SCSS
$custom: #a12e58;
$custom-light: #c27087;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e58",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 338.087,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.15384,
    "h": 2.6
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#A12E58
secondary
#6CBEA0
accent
#DFA849
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12E58

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

Preview Lab → · Contrast checker → · Palette generator →

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