#A12762#A12762

#A12762 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.165 H 355.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A12762
RGBrgb(161, 39, 98)
HSLhsl(331, 61%, 39%)
HSVhsv(331, 76%, 63%)
CMYKcmyk(0%, 75.8%, 39.1%, 36.9%)
CIE-LABlab(37.68, 53.75, -4.74)
CIE-LCHlch(37.68, 53.96, 354.96°)
OKLaboklab(48.46% 0.1651 -0.0118)
OKLCHoklch(48.46% 0.165 355.9)
XYZxyz(17.6293, 9.9121, 12.5378)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12762 #27A166
analogous
#A1279F #A12762 #A12927
triadic
#A12762 #62A127 #2762A1
tetradic
#A12762 #9FA127 #27A166 #2927A1
square
#A12762 #9FA127 #27A166 #2927A1
split-complementary
#A12762 #27A129 #279FA1
monochromatic
#3E0F26 #701B44 #A12762 #CE3780 #DA689F

Accessibility & contrast

On white

7.04
#A12762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A12762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12762
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12762#FFFFFF#000000##FFFFFF
##A127621.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A64
Deuteranopia (green-blind)
#61615F
Tritanopia (blue-blind)
#AE1841
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12762;
/* rgb */ color: rgb(161, 39, 98);
/* oklch */ color: oklch(48.5% 0.165 355.9);
Tailwind
colors: {
  custom: {
    50: '#c26d8e',
    500: '#a12762',
    950: '#000000',
  },
}
SCSS
$custom: #a12762;
$custom-light: #c26d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12762",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 330.984,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48459,
    "c": 0.16548,
    "h": 355.9
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#A12762
secondary
#63C093
accent
#E49744
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12762

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

Preview Lab → · Contrast checker → · Palette generator →

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