#B12779#B12779

#B12779 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.188 H 349.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B12779
RGBrgb(177, 39, 121)
HSLhsl(324, 64%, 42%)
HSVhsv(324, 78%, 69%)
CMYKcmyk(0%, 78%, 31.6%, 30.6%)
CIE-LABlab(41.50, 60.57, -13.13)
CIE-LCHlch(41.50, 61.98, 347.77°)
OKLaboklab(52.07% 0.1853 -0.0343)
OKLCHoklch(52.07% 0.188 349.5)
XYZxyz(22.3094, 12.1813, 19.2618)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12779 #27B15F
analogous
#A427B1 #B12779 #B12734
triadic
#B12779 #79B127 #2779B1
tetradic
#B12779 #B1A427 #27B15F #2734B1
square
#B12779 #B1A427 #27B15F #2734B1
split-complementary
#B12779 #34B127 #27B1A4
monochromatic
#4D1134 #7F1C57 #B12779 #D54099 #E072B4

Accessibility & contrast

On white

6.11
#B12779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12779
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12779#FFFFFF#000000##FFFFFF
##B127791.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527B
Deuteranopia (green-blind)
#676B76
Tritanopia (blue-blind)
#BE1E4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12779;
/* rgb */ color: rgb(177, 39, 121);
/* oklch */ color: oklch(52.1% 0.188 349.5);
Tailwind
colors: {
  custom: {
    50: '#cd709f',
    500: '#b12779',
    950: '#000000',
  },
}
SCSS
$custom: #b12779;
$custom-light: #cd709f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12779",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 324.348,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.18842,
    "h": 349.5
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#B12779
secondary
#6DC791
accent
#E78441
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12779

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

Preview Lab → · Contrast checker → · Palette generator →

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