#B12773#B12773

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

Color values

HEX#B12773
RGBrgb(177, 39, 115)
HSLhsl(327, 64%, 42%)
HSVhsv(327, 78%, 69%)
CMYKcmyk(0%, 78%, 35%, 30.6%)
CIE-LABlab(41.28, 59.89, -9.75)
CIE-LCHlch(41.28, 60.68, 350.76°)
OKLaboklab(51.83% 0.1838 -0.0251)
OKLCHoklch(51.83% 0.185 352.2)
XYZxyz(21.9529, 12.0386, 17.3840)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12773 #27B165
analogous
#AA27B1 #B12773 #B1272E
triadic
#B12773 #73B127 #2773B1
tetradic
#B12773 #B1AA27 #27B165 #272EB1
square
#B12773 #B1AA27 #27B165 #272EB1
split-complementary
#B12773 #2EB127 #27B1AA
monochromatic
#4D1132 #7F1C52 #B12773 #D54092 #E072AF

Accessibility & contrast

On white

6.16
#B12773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B12773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12773
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12773#FFFFFF#000000##FFFFFF
##B127731.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415175
Deuteranopia (green-blind)
#696A70
Tritanopia (blue-blind)
#BF194A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12773;
/* rgb */ color: rgb(177, 39, 115);
/* oklch */ color: oklch(51.8% 0.185 352.2);
Tailwind
colors: {
  custom: {
    50: '#cd709b',
    500: '#b12773',
    950: '#000000',
  },
}
SCSS
$custom: #b12773;
$custom-light: #cd709b;
$custom-dark: #000000;
JSON
{
  "hex": "#b12773",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 326.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.18546,
    "h": 352.2
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#B12773
secondary
#6DC795
accent
#E78B41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12773

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

Preview Lab → · Contrast checker → · Palette generator →

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