#B12774#B12774

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

Color values

HEX#B12774
RGBrgb(177, 39, 116)
HSLhsl(327, 64%, 42%)
HSVhsv(327, 78%, 69%)
CMYKcmyk(0%, 78%, 34.5%, 30.6%)
CIE-LABlab(41.31, 60.00, -10.31)
CIE-LCHlch(41.31, 60.88, 350.25°)
OKLaboklab(51.87% 0.184 -0.0267)
OKLCHoklch(51.87% 0.186 351.8)
XYZxyz(22.0107, 12.0618, 17.6887)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12774 #27B164
analogous
#A927B1 #B12774 #B1272F
triadic
#B12774 #74B127 #2774B1
tetradic
#B12774 #B1A927 #27B164 #272FB1
square
#B12774 #B1A927 #27B164 #272FB1
split-complementary
#B12774 #2FB127 #27B1A9
monochromatic
#4D1132 #7F1C53 #B12774 #D54093 #E072B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12774#FFFFFF#000000##FFFFFF
##B127741.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)
#415276
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#BF1A4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12774;
/* rgb */ color: rgb(177, 39, 116);
/* oklch */ color: oklch(51.9% 0.186 351.8);
Tailwind
colors: {
  custom: {
    50: '#cd709c',
    500: '#b12774',
    950: '#000000',
  },
}
SCSS
$custom: #b12774;
$custom-light: #cd709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12774",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 326.522,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.18594,
    "h": 351.8
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12774

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

Preview Lab → · Contrast checker → · Palette generator →

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