#A12758#A12758

#A12758 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.162 H 1.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A12758
RGBrgb(161, 39, 88)
HSLhsl(336, 61%, 39%)
HSVhsv(336, 76%, 63%)
CMYKcmyk(0%, 75.8%, 45.3%, 36.9%)
CIE-LABlab(37.36, 52.73, 1.16)
CIE-LCHlch(37.36, 52.74, 1.26°)
OKLaboklab(48.12% 0.1618 0.0036)
OKLCHoklch(48.12% 0.162 1.3)
XYZxyz(17.1863, 9.7349, 10.2046)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12758 #27A170
analogous
#A12795 #A12758 #A13327
triadic
#A12758 #58A127 #2758A1
tetradic
#A12758 #95A127 #27A170 #3327A1
square
#A12758 #95A127 #27A170 #3327A1
split-complementary
#A12758 #27A133 #2795A1
monochromatic
#3E0F22 #701B3D #A12758 #CE3774 #DA6896

Accessibility & contrast

On white

7.13
#A12758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A12758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12758
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12758#FFFFFF#000000##FFFFFF
##A127581.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#646055
Tritanopia (blue-blind)
#AF103C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12758;
/* rgb */ color: rgb(161, 39, 88);
/* oklch */ color: oklch(48.1% 0.162 1.3);
Tailwind
colors: {
  custom: {
    50: '#c26d87',
    500: '#a12758',
    950: '#000000',
  },
}
SCSS
$custom: #a12758;
$custom-light: #c26d87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12758",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 335.902,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.16179,
    "h": 1.3
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#A12758
secondary
#63C09B
accent
#E4A444
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12758

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

Preview Lab → · Contrast checker → · Palette generator →

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