#A12F62#A12F62

#A12F62 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.156 H 357.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A12F62
RGBrgb(161, 47, 98)
HSLhsl(333, 55%, 41%)
HSVhsv(333, 71%, 63%)
CMYKcmyk(0%, 70.8%, 39.1%, 36.9%)
CIE-LABlab(38.72, 50.87, -3.21)
CIE-LCHlch(38.72, 50.97, 356.38°)
OKLaboklab(49.22% 0.1559 -0.0078)
OKLCHoklch(49.22% 0.156 357.1)
XYZxyz(17.9202, 10.4941, 12.6348)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F62 #2FA16E
analogous
#A12F9B #A12F62 #A1352F
triadic
#A12F62 #62A12F #2F62A1
tetradic
#A12F62 #9BA12F #2FA16E #352FA1
square
#A12F62 #9BA12F #2FA16E #352FA1
split-complementary
#A12F62 #2FA135 #2F9BA1
monochromatic
#421328 #722145 #A12F62 #C94580 #D674A0

Accessibility & contrast

On white

6.78
#A12F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A12F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F62
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F62#FFFFFF#000000##FFFFFF
##A12F621.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#64635F
Tritanopia (blue-blind)
#AE2344
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12f62;
/* rgb */ color: rgb(161, 47, 98);
/* oklch */ color: oklch(49.2% 0.156 357.1);
Tailwind
colors: {
  custom: {
    50: '#c1708e',
    500: '#a12f62',
    950: '#000000',
  },
}
SCSS
$custom: #a12f62;
$custom-light: #c1708e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f62",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 333.158,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.15611,
    "h": 357.1
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#A12F62
secondary
#6EBE9A
accent
#DE9C4A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12F62

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

Preview Lab → · Contrast checker → · Palette generator →

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