#B12C8D#B12C8D

#B12C8D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 341.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B12C8D
RGBrgb(177, 44, 141)
HSLhsl(316, 60%, 43%)
HSVhsv(316, 75%, 69%)
CMYKcmyk(0%, 75.1%, 20.3%, 30.6%)
CIE-LABlab(42.87, 61.56, -23.30)
CIE-LCHlch(42.87, 65.82, 339.27°)
OKLaboklab(53.34% 0.1844 -0.0627)
OKLCHoklch(53.34% 0.195 341.2)
XYZxyz(23.8406, 13.0740, 26.4621)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C8D #2CB150
analogous
#922CB1 #B12C8D #B12C4A
triadic
#B12C8D #8DB12C #2C8DB1
tetradic
#B12C8D #B1922C #2CB150 #2C4AB1
square
#B12C8D #B1922C #2CB150 #2C4AB1
split-complementary
#B12C8D #4AB12C #2CB192
monochromatic
#4F143F #802066 #B12C8D #D249AD #DE7AC3

Accessibility & contrast

On white

5.81
#B12C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B12C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12C8D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12C8D#FFFFFF#000000##FFFFFF
##B12C8D1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#BC2F59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12c8d;
/* rgb */ color: rgb(177, 44, 141);
/* oklch */ color: oklch(53.3% 0.195 341.2);
Tailwind
colors: {
  custom: {
    50: '#cc73ae',
    500: '#b12c8d',
    950: '#000000',
  },
}
SCSS
$custom: #b12c8d;
$custom-light: #cc73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c8d",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 316.241,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.1948,
    "h": 341.2
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#B12C8D
secondary
#73C689
accent
#E36F44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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