#B12C8A#B12C8A

#B12C8A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.193 H 342.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B12C8A
RGBrgb(177, 44, 138)
HSLhsl(318, 60%, 43%)
HSVhsv(318, 75%, 69%)
CMYKcmyk(0%, 75.1%, 22%, 30.6%)
CIE-LABlab(42.74, 61.16, -21.68)
CIE-LCHlch(42.74, 64.89, 340.48°)
OKLaboklab(53.2% 0.1839 -0.0582)
OKLCHoklch(53.2% 0.193 342.5)
XYZxyz(23.6204, 12.9859, 25.3024)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C8A #2CB153
analogous
#952CB1 #B12C8A #B12C47
triadic
#B12C8A #8AB12C #2C8AB1
tetradic
#B12C8A #B1952C #2CB153 #2C47B1
square
#B12C8A #B1952C #2CB153 #2C47B1
split-complementary
#B12C8A #47B12C #2CB195
monochromatic
#4F143E #802064 #B12C8A #D249A9 #DE7AC0

Accessibility & contrast

On white

5.84
#B12C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B12C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12C8A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12C8A#FFFFFF#000000##FFFFFF
##B12C8A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#BC2D58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12c8a;
/* rgb */ color: rgb(177, 44, 138);
/* oklch */ color: oklch(53.2% 0.193 342.5);
Tailwind
colors: {
  custom: {
    50: '#cc73ac',
    500: '#b12c8a',
    950: '#000000',
  },
}
SCSS
$custom: #b12c8a;
$custom-light: #cc73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c8a",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 317.594,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.19292,
    "h": 342.5
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#B12C8A
secondary
#73C68B
accent
#E37344
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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