#A12F4E#A12F4E

#A12F4E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.6% C 0.150 H 8.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A12F4E
RGBrgb(161, 47, 78)
HSLhsl(344, 55%, 41%)
HSVhsv(344, 71%, 63%)
CMYKcmyk(0%, 70.8%, 51.6%, 36.9%)
CIE-LABlab(38.13, 48.89, 8.64)
CIE-LCHlch(38.13, 49.64, 10.02°)
OKLaboklab(48.6% 0.1487 0.0223)
OKLCHoklch(48.6% 0.15 8.5)
XYZxyz(17.0911, 10.1624, 8.2678)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F4E #2FA182
analogous
#A12F87 #A12F4E #A1492F
triadic
#A12F4E #4EA12F #2F4EA1
tetradic
#A12F4E #87A12F #2FA182 #492FA1
square
#A12F4E #87A12F #2FA182 #492FA1
split-complementary
#A12F4E #2FA149 #2F87A1
monochromatic
#421320 #722137 #A12F4E #C94568 #D6748F

Accessibility & contrast

On white

6.93
#A12F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A12F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F4E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F4E#FFFFFF#000000##FFFFFF
##A12F4E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B0193C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12f4e;
/* rgb */ color: rgb(161, 47, 78);
/* oklch */ color: oklch(48.6% 0.150 8.5);
Tailwind
colors: {
  custom: {
    50: '#c2707f',
    500: '#a12f4e',
    950: '#000000',
  },
}
SCSS
$custom: #a12f4e;
$custom-light: #c2707f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f4e",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 343.684,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.15033,
    "h": 8.5
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#A12F4E
secondary
#6EBEA8
accent
#DEB64A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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