#A12F5E#A12F5E

#A12F5E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.155 H 359.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A12F5E
RGBrgb(161, 47, 94)
HSLhsl(335, 55%, 41%)
HSVhsv(335, 71%, 63%)
CMYKcmyk(0%, 70.8%, 41.6%, 36.9%)
CIE-LABlab(38.59, 50.43, -0.87)
CIE-LCHlch(38.59, 50.44, 359.01°)
OKLaboklab(49.08% 0.1546 -0.0017)
OKLCHoklch(49.08% 0.155 359.4)
XYZxyz(17.7361, 10.4204, 11.6649)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F5E #2FA172
analogous
#A12F97 #A12F5E #A1392F
triadic
#A12F5E #5EA12F #2F5EA1
tetradic
#A12F5E #97A12F #2FA172 #392FA1
square
#A12F5E #97A12F #2FA172 #392FA1
split-complementary
#A12F5E #2FA139 #2F97A1
monochromatic
#421327 #722142 #A12F5E #C9457B #D6749D

Accessibility & contrast

On white

6.81
#A12F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A12F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F5E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F5E#FFFFFF#000000##FFFFFF
##A12F5E1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#AE2143
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12f5e;
/* rgb */ color: rgb(161, 47, 94);
/* oklch */ color: oklch(49.1% 0.155 359.4);
Tailwind
colors: {
  custom: {
    50: '#c1708b',
    500: '#a12f5e',
    950: '#000000',
  },
}
SCSS
$custom: #a12f5e;
$custom-light: #c1708b;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f5e",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 335.263,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.15458,
    "h": 359.4
  },
  "luminance": 0.10418
}

Semantic roles & 50–950 ramp

primary
#A12F5E
secondary
#6EBE9D
accent
#DEA14A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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