#B12972#B12972

#B12972 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 352.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B12972
RGBrgb(177, 41, 114)
HSLhsl(328, 62%, 43%)
HSVhsv(328, 77%, 69%)
CMYKcmyk(0%, 76.8%, 35.6%, 30.6%)
CIE-LABlab(41.45, 59.17, -8.86)
CIE-LCHlch(41.45, 59.83, 351.49°)
OKLaboklab(51.95% 0.1816 -0.0227)
OKLCHoklch(51.95% 0.183 352.9)
XYZxyz(21.9630, 12.1506, 17.1050)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12972 #29B168
analogous
#AC29B1 #B12972 #B1292E
triadic
#B12972 #72B129 #2972B1
tetradic
#B12972 #B1AC29 #29B168 #292EB1
square
#B12972 #B1AC29 #29B168 #292EB1
split-complementary
#B12972 #2EB129 #29B1AC
monochromatic
#4E1232 #7F1D52 #B12972 #D44491 #DF75AE

Accessibility & contrast

On white

6.12
#B12972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B12972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12972
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12972#FFFFFF#000000##FFFFFF
##B129721.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435274
Deuteranopia (green-blind)
#696B6F
Tritanopia (blue-blind)
#BF1B4A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12972;
/* rgb */ color: rgb(177, 41, 114);
/* oklch */ color: oklch(51.9% 0.183 352.9);
Tailwind
colors: {
  custom: {
    50: '#cd719a',
    500: '#b12972',
    950: '#000000',
  },
}
SCSS
$custom: #b12972;
$custom-light: #cd719a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12972",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 327.794,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.18299,
    "h": 352.9
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#B12972
secondary
#6FC798
accent
#E58E42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12972

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

Preview Lab → · Contrast checker → · Palette generator →

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