#A12958#A12958

#A12958 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.160 H 1.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A12958
RGBrgb(161, 41, 88)
HSLhsl(337, 59%, 40%)
HSVhsv(337, 75%, 63%)
CMYKcmyk(0%, 74.5%, 45.3%, 36.9%)
CIE-LABlab(37.61, 52.04, 1.51)
CIE-LCHlch(37.61, 52.06, 1.67°)
OKLaboklab(48.3% 0.1596 0.0045)
OKLCHoklch(48.3% 0.16 1.6)
XYZxyz(17.2537, 9.8698, 10.2271)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12958 #29A172
analogous
#A12994 #A12958 #A13629
triadic
#A12958 #58A129 #2958A1
tetradic
#A12958 #94A129 #29A172 #3629A1
square
#A12958 #94A129 #29A172 #3629A1
split-complementary
#A12958 #29A136 #2994A1
monochromatic
#3F1023 #701D3D #A12958 #CD3A74 #D96B96

Accessibility & contrast

On white

7.06
#A12958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A12958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12958
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12958#FFFFFF#000000##FFFFFF
##A129581.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#AF143D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12958;
/* rgb */ color: rgb(161, 41, 88);
/* oklch */ color: oklch(48.3% 0.160 1.6);
Tailwind
colors: {
  custom: {
    50: '#c26d87',
    500: '#a12958',
    950: '#000000',
  },
}
SCSS
$custom: #a12958;
$custom-light: #c26d87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12958",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 336.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.15961,
    "h": 1.6
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#A12958
secondary
#66C09D
accent
#E3A545
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12958

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

Preview Lab → · Contrast checker → · Palette generator →

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