#B12472#B12472

#B12472 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.188 H 352.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B12472
RGBrgb(177, 36, 114)
HSLhsl(327, 66%, 42%)
HSVhsv(327, 80%, 69%)
CMYKcmyk(0%, 79.7%, 35.6%, 30.6%)
CIE-LABlab(40.94, 60.64, -9.63)
CIE-LCHlch(40.94, 61.40, 350.98°)
OKLaboklab(51.57% 0.1862 -0.0248)
OKLCHoklch(51.57% 0.188 352.4)
XYZxyz(21.8010, 11.8265, 17.0510)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12472 #24B163
analogous
#AA24B1 #B12472 #B1242B
triadic
#B12472 #72B124 #2472B1
tetradic
#B12472 #B1AA24 #24B163 #242BB1
square
#B12472 #B1AA24 #24B163 #242BB1
split-complementary
#B12472 #2BB124 #24B1AA
monochromatic
#4B0F30 #7E1A51 #B12472 #D73B91 #E16EAE

Accessibility & contrast

On white

6.24
#B12472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B12472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12472
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12472#FFFFFF#000000##FFFFFF
##B124721.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405074
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#BF1448
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12472;
/* rgb */ color: rgb(177, 36, 114);
/* oklch */ color: oklch(51.6% 0.188 352.4);
Tailwind
colors: {
  custom: {
    50: '#cd6f9a',
    500: '#b12472',
    950: '#000000',
  },
}
SCSS
$custom: #b12472;
$custom-light: #cd6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12472",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 326.809,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.18785,
    "h": 352.4
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#B12472
secondary
#69C893
accent
#E98B3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12472

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

Preview Lab → · Contrast checker → · Palette generator →

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