#B12477#B12477

#B12477 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.190 H 350.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B12477
RGBrgb(177, 36, 119)
HSLhsl(325, 66%, 42%)
HSVhsv(325, 80%, 69%)
CMYKcmyk(0%, 79.7%, 32.8%, 30.6%)
CIE-LABlab(41.13, 61.20, -12.46)
CIE-LCHlch(41.13, 62.45, 348.49°)
OKLaboklab(51.77% 0.1875 -0.0325)
OKLCHoklch(51.77% 0.19 350.2)
XYZxyz(22.0934, 11.9434, 18.5910)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12477 #24B15E
analogous
#A524B1 #B12477 #B12431
triadic
#B12477 #77B124 #2477B1
tetradic
#B12477 #B1A524 #24B15E #2431B1
square
#B12477 #B1A524 #24B15E #2431B1
split-complementary
#B12477 #31B124 #24B1A5
monochromatic
#4B0F33 #7E1A55 #B12477 #D73B97 #E16EB2

Accessibility & contrast

On white

6.20
#B12477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B12477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12477
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12477#FFFFFF#000000##FFFFFF
##B124771.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5179
Deuteranopia (green-blind)
#676A74
Tritanopia (blue-blind)
#BE184B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12477;
/* rgb */ color: rgb(177, 36, 119);
/* oklch */ color: oklch(51.8% 0.190 350.2);
Tailwind
colors: {
  custom: {
    50: '#cd6f9e',
    500: '#b12477',
    950: '#000000',
  },
}
SCSS
$custom: #b12477;
$custom-light: #cd6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12477",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 324.681,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.19028,
    "h": 350.2
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#B12477
secondary
#69C890
accent
#E9853F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12477

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

Preview Lab → · Contrast checker → · Palette generator →

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