#B12C82#B12C82

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

Color values

HEX#B12C82
RGBrgb(177, 44, 130)
HSLhsl(321, 60%, 43%)
HSVhsv(321, 75%, 69%)
CMYKcmyk(0%, 75.1%, 26.6%, 30.6%)
CIE-LABlab(42.40, 60.12, -17.31)
CIE-LCHlch(42.40, 62.56, 343.94°)
OKLaboklab(52.84% 0.1825 -0.0459)
OKLCHoklch(52.84% 0.188 345.9)
XYZxyz(23.0624, 12.7627, 22.3637)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C82 #2CB15B
analogous
#9D2CB1 #B12C82 #B12C3F
triadic
#B12C82 #82B12C #2C82B1
tetradic
#B12C82 #B19D2C #2CB15B #2C3FB1
square
#B12C82 #B19D2C #2CB15B #2C3FB1
split-complementary
#B12C82 #3FB12C #2CB19D
monochromatic
#4F143A #80205E #B12C82 #D249A1 #DE7ABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12C82#FFFFFF#000000##FFFFFF
##B12C821.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)
#3E5684
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#BD2953
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12c82;
/* rgb */ color: rgb(177, 44, 130);
/* oklch */ color: oklch(52.8% 0.188 345.9);
Tailwind
colors: {
  custom: {
    50: '#cd72a6',
    500: '#b12c82',
    950: '#000000',
  },
}
SCSS
$custom: #b12c82;
$custom-light: #cd72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c82",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 321.203,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.18814,
    "h": 345.9
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#B12C82
secondary
#73C690
accent
#E37D44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12C82

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

Preview Lab → · Contrast checker → · Palette generator →

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