#A12F4F#A12F4F

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

Color values

HEX#A12F4F
RGBrgb(161, 47, 79)
HSLhsl(343, 55%, 41%)
HSVhsv(343, 71%, 63%)
CMYKcmyk(0%, 70.8%, 50.9%, 36.9%)
CIE-LABlab(38.16, 48.97, 8.04)
CIE-LCHlch(38.16, 49.63, 9.32°)
OKLaboklab(48.62% 0.1491 0.0208)
OKLCHoklch(48.62% 0.151 7.9)
XYZxyz(17.1272, 10.1769, 8.4581)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F4F #2FA181
analogous
#A12F88 #A12F4F #A1482F
triadic
#A12F4F #4FA12F #2F4FA1
tetradic
#A12F4F #88A12F #2FA181 #482FA1
square
#A12F4F #88A12F #2FA181 #482FA1
split-complementary
#A12F4F #2FA148 #2F88A1
monochromatic
#421321 #722138 #A12F4F #C9456A #D67490

Accessibility & contrast

On white

6.92
#A12F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12F4F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F4F#FFFFFF#000000##FFFFFF
##A12F4F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B50
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#AF1A3C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12f4f;
/* rgb */ color: rgb(161, 47, 79);
/* oklch */ color: oklch(48.6% 0.150 7.9);
Tailwind
colors: {
  custom: {
    50: '#c27080',
    500: '#a12f4f',
    950: '#000000',
  },
}
SCSS
$custom: #a12f4f;
$custom-light: #c27080;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f4f",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 343.158,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.1505,
    "h": 7.9
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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