#B12977#B12977

#B12977 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.185 H 350.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B12977
RGBrgb(177, 41, 119)
HSLhsl(326, 62%, 43%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 76.8%, 32.8%, 30.6%)
CIE-LABlab(41.64, 59.74, -11.69)
CIE-LCHlch(41.64, 60.87, 348.93°)
OKLaboklab(52.14% 0.1829 -0.0304)
OKLCHoklch(52.14% 0.185 350.6)
XYZxyz(22.2554, 12.2675, 18.6451)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12977 #29B163
analogous
#A729B1 #B12977 #B12933
triadic
#B12977 #77B129 #2977B1
tetradic
#B12977 #B1A729 #29B163 #2933B1
square
#B12977 #B1A729 #29B163 #2933B1
split-complementary
#B12977 #33B129 #29B1A7
monochromatic
#4E1234 #7F1D56 #B12977 #D44496 #DF75B2

Accessibility & contrast

On white

6.08
#B12977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B12977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12977
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12977#FFFFFF#000000##FFFFFF
##B129771.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415379
Deuteranopia (green-blind)
#686B74
Tritanopia (blue-blind)
#BE1F4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12977;
/* rgb */ color: rgb(177, 41, 119);
/* oklch */ color: oklch(52.1% 0.185 350.6);
Tailwind
colors: {
  custom: {
    50: '#cd719e',
    500: '#b12977',
    950: '#000000',
  },
}
SCSS
$custom: #b12977;
$custom-light: #cd719e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12977",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 325.588,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.18539,
    "h": 350.6
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#B12977
secondary
#6FC794
accent
#E58842
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12977

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

Preview Lab → · Contrast checker → · Palette generator →

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