#B12882#B12882

#B12882 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.192 H 345.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B12882
RGBrgb(177, 40, 130)
HSLhsl(321, 63%, 43%)
HSVhsv(321, 77%, 69%)
CMYKcmyk(0%, 77.4%, 26.6%, 30.6%)
CIE-LABlab(41.97, 61.36, -17.98)
CIE-LCHlch(41.97, 63.94, 343.67°)
OKLaboklab(52.52% 0.1863 -0.0477)
OKLCHoklch(52.52% 0.192 345.6)
XYZxyz(22.9206, 12.4789, 22.3164)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12882 #28B157
analogous
#9C28B1 #B12882 #B1283D
triadic
#B12882 #82B128 #2882B1
tetradic
#B12882 #B19C28 #28B157 #283DB1
square
#B12882 #B19C28 #28B157 #283DB1
split-complementary
#B12882 #3DB128 #28B19C
monochromatic
#4D1139 #7F1D5D #B12882 #D442A2 #E074BB

Accessibility & contrast

On white

6.01
#B12882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B12882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12882
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12882#FFFFFF#000000##FFFFFF
##B128821.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#656B7F
Tritanopia (blue-blind)
#BD2552
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12882;
/* rgb */ color: rgb(177, 40, 130);
/* oklch */ color: oklch(52.5% 0.192 345.6);
Tailwind
colors: {
  custom: {
    50: '#cd71a6',
    500: '#b12882',
    950: '#000000',
  },
}
SCSS
$custom: #b12882;
$custom-light: #cd71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12882",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 320.584,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.19231,
    "h": 345.6
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#B12882
secondary
#6EC78C
accent
#E67A42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12882

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

Preview Lab → · Contrast checker → · Palette generator →

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