#B1287D#B1287D

#B1287D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.190 H 347.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B1287D
RGBrgb(177, 40, 125)
HSLhsl(323, 63%, 43%)
HSVhsv(323, 77%, 69%)
CMYKcmyk(0%, 77.4%, 29.4%, 30.6%)
CIE-LABlab(41.76, 60.75, -15.21)
CIE-LCHlch(41.76, 62.62, 345.95°)
OKLaboklab(52.31% 0.1853 -0.0401)
OKLCHoklch(52.31% 0.19 347.8)
XYZxyz(22.5931, 12.3480, 20.5917)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1287D #28B15C
analogous
#A128B1 #B1287D #B12838
triadic
#B1287D #7DB128 #287DB1
tetradic
#B1287D #B1A128 #28B15C #2838B1
square
#B1287D #B1A128 #28B15C #2838B1
split-complementary
#B1287D #38B128 #28B1A1
monochromatic
#4D1136 #7F1D5A #B1287D #D4429D #E074B7

Accessibility & contrast

On white

6.05
#B1287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B1287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1287D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1287D#FFFFFF#000000##FFFFFF
##B1287D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#BE214F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b1287d;
/* rgb */ color: rgb(177, 40, 125);
/* oklch */ color: oklch(52.3% 0.190 347.8);
Tailwind
colors: {
  custom: {
    50: '#cd71a2',
    500: '#b1287d',
    950: '#000000',
  },
}
SCSS
$custom: #b1287d;
$custom-light: #cd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1287d",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 322.774,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.18953,
    "h": 347.8
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#B1287D
secondary
#6EC790
accent
#E68042
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1287D

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

Preview Lab → · Contrast checker → · Palette generator →

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