#B12979#B12979

#B12979 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.186 H 349.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B12979
RGBrgb(177, 41, 121)
HSLhsl(325, 62%, 43%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 76.8%, 31.6%, 30.6%)
CIE-LABlab(41.71, 59.97, -12.81)
CIE-LCHlch(41.71, 61.32, 347.94°)
OKLaboklab(52.22% 0.1834 -0.0335)
OKLCHoklch(52.22% 0.186 349.7)
XYZxyz(22.3768, 12.3161, 19.2843)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12979 #29B161
analogous
#A529B1 #B12979 #B12935
triadic
#B12979 #79B129 #2979B1
tetradic
#B12979 #B1A529 #29B161 #2935B1
square
#B12979 #B1A529 #29B161 #2935B1
split-complementary
#B12979 #35B129 #29B1A5
monochromatic
#4E1235 #7F1D57 #B12979 #D44498 #DF75B4

Accessibility & contrast

On white

6.06
#B12979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B12979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12979
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12979#FFFFFF#000000##FFFFFF
##B129791.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#676B76
Tritanopia (blue-blind)
#BE204E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12979;
/* rgb */ color: rgb(177, 41, 121);
/* oklch */ color: oklch(52.2% 0.186 349.7);
Tailwind
colors: {
  custom: {
    50: '#cd719f',
    500: '#b12979',
    950: '#000000',
  },
}
SCSS
$custom: #b12979;
$custom-light: #cd719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12979",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 324.706,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.18641,
    "h": 349.7
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#B12979
secondary
#6FC793
accent
#E58642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12979

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

Preview Lab → · Contrast checker → · Palette generator →

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