#A12F54#A12F54

#A12F54 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.152 H 5.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A12F54
RGBrgb(161, 47, 84)
HSLhsl(341, 55%, 41%)
HSVhsv(341, 71%, 63%)
CMYKcmyk(0%, 70.8%, 47.8%, 36.9%)
CIE-LABlab(38.29, 49.43, 5.05)
CIE-LCHlch(38.29, 49.69, 5.83°)
OKLaboklab(48.77% 0.151 0.0134)
OKLCHoklch(48.77% 0.152 5.1)
XYZxyz(17.3161, 10.2524, 9.4529)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F54 #2FA17C
analogous
#A12F8D #A12F54 #A1432F
triadic
#A12F54 #54A12F #2F54A1
tetradic
#A12F54 #8DA12F #2FA17C #432FA1
square
#A12F54 #8DA12F #2FA17C #432FA1
split-complementary
#A12F54 #2FA143 #2F8DA1
monochromatic
#421323 #72213B #A12F54 #C9456F #D67494

Accessibility & contrast

On white

6.89
#A12F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F54
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F54#FFFFFF#000000##FFFFFF
##A12F541.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C55
Deuteranopia (green-blind)
#676251
Tritanopia (blue-blind)
#AF1C3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12f54;
/* rgb */ color: rgb(161, 47, 84);
/* oklch */ color: oklch(48.8% 0.152 5.1);
Tailwind
colors: {
  custom: {
    50: '#c27083',
    500: '#a12f54',
    950: '#000000',
  },
}
SCSS
$custom: #a12f54;
$custom-light: #c27083;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f54",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 340.526,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.15156,
    "h": 5.1
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#A12F54
secondary
#6EBEA4
accent
#DEAE4A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12F54

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

Preview Lab → · Contrast checker → · Palette generator →

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