#B12F79#B12F79

#B12F79 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.180 H 350.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B12F79
RGBrgb(177, 47, 121)
HSLhsl(326, 58%, 44%)
HSVhsv(326, 73%, 69%)
CMYKcmyk(0%, 73.4%, 31.6%, 30.6%)
CIE-LABlab(42.40, 58.02, -11.76)
CIE-LCHlch(42.40, 59.20, 348.54°)
OKLaboklab(52.73% 0.1773 -0.0307)
OKLCHoklch(52.73% 0.18 350.2)
XYZxyz(22.6004, 12.7632, 19.3588)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F79 #2FB167
analogous
#A82FB1 #B12F79 #B12F38
triadic
#B12F79 #79B12F #2F79B1
tetradic
#B12F79 #B1A82F #2FB167 #2F38B1
square
#B12F79 #B1A82F #2FB167 #2F38B1
split-complementary
#B12F79 #38B12F #2FB1A8
monochromatic
#501537 #812258 #B12F79 #D04D98 #DD7EB4

Accessibility & contrast

On white

5.91
#B12F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B12F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F79
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F79#FFFFFF#000000##FFFFFF
##B12F791.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557B
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#BE2750
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12f79;
/* rgb */ color: rgb(177, 47, 121);
/* oklch */ color: oklch(52.7% 0.180 350.2);
Tailwind
colors: {
  custom: {
    50: '#cd739f',
    500: '#b12f79',
    950: '#000000',
  },
}
SCSS
$custom: #b12f79;
$custom-light: #cd739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f79",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 325.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.17988,
    "h": 350.2
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#B12F79
secondary
#76C598
accent
#E18947
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12F79

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

Preview Lab → · Contrast checker → · Palette generator →

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