#B12772#B12772

#B12772 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.185 H 352.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B12772
RGBrgb(177, 39, 114)
HSLhsl(327, 64%, 42%)
HSVhsv(327, 78%, 69%)
CMYKcmyk(0%, 78%, 35.6%, 30.6%)
CIE-LABlab(41.24, 59.78, -9.18)
CIE-LCHlch(41.24, 60.48, 351.27°)
OKLaboklab(51.79% 0.1835 -0.0236)
OKLCHoklch(51.79% 0.185 352.7)
XYZxyz(21.8956, 12.0157, 17.0826)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12772 #27B166
analogous
#AB27B1 #B12772 #B1272D
triadic
#B12772 #72B127 #2772B1
tetradic
#B12772 #B1AB27 #27B166 #272DB1
square
#B12772 #B1AB27 #27B166 #272DB1
split-complementary
#B12772 #2DB127 #27B1AB
monochromatic
#4D1131 #7F1C52 #B12772 #D54091 #E072AE

Accessibility & contrast

On white

6.17
#B12772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B12772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12772
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12772#FFFFFF#000000##FFFFFF
##B127721.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425174
Deuteranopia (green-blind)
#696A6F
Tritanopia (blue-blind)
#BF1849
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12772;
/* rgb */ color: rgb(177, 39, 114);
/* oklch */ color: oklch(51.8% 0.185 352.7);
Tailwind
colors: {
  custom: {
    50: '#cd709a',
    500: '#b12772',
    950: '#000000',
  },
}
SCSS
$custom: #b12772;
$custom-light: #cd709a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12772",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 327.391,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.185,
    "h": 352.7
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#B12772
secondary
#6DC796
accent
#E78D41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12772

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

Preview Lab → · Contrast checker → · Palette generator →

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