#A12058#A12058

#A12058 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.169 H 0.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A12058
RGBrgb(161, 32, 88)
HSLhsl(334, 67%, 38%)
HSVhsv(334, 80%, 63%)
CMYKcmyk(0%, 80.1%, 45.3%, 36.9%)
CIE-LABlab(36.59, 54.92, 0.03)
CIE-LCHlch(36.59, 54.92, 0.03°)
OKLaboklab(47.55% 0.1688 0.0007)
OKLCHoklch(47.55% 0.169 0.2)
XYZxyz(16.9773, 9.3170, 10.1350)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12058 #20A169
analogous
#A12099 #A12058 #A12820
triadic
#A12058 #58A120 #2058A1
tetradic
#A12058 #99A120 #20A169 #2820A1
square
#A12058 #99A120 #20A169 #2820A1
split-complementary
#A12058 #20A128 #2099A1
monochromatic
#3B0C20 #6E163C #A12058 #D42A74 #DF5D95

Accessibility & contrast

On white

7.33
#A12058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A12058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12058
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12058#FFFFFF#000000##FFFFFF
##A120581.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#625F55
Tritanopia (blue-blind)
#AF0039
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12058;
/* rgb */ color: rgb(161, 32, 88);
/* oklch */ color: oklch(47.5% 0.169 0.2);
Tailwind
colors: {
  custom: {
    50: '#c26a87',
    500: '#a12058',
    950: '#000000',
  },
}
SCSS
$custom: #a12058;
$custom-light: #c26a87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12058",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 333.953,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.16878,
    "h": 0.2
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#A12058
secondary
#5AC395
accent
#EA9F3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12058

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

Preview Lab → · Contrast checker → · Palette generator →

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