#B1287B#B1287B

#B1287B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.188 H 348.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B1287B
RGBrgb(177, 40, 123)
HSLhsl(324, 63%, 43%)
HSVhsv(324, 77%, 69%)
CMYKcmyk(0%, 77.4%, 30.5%, 30.6%)
CIE-LABlab(41.68, 60.51, -14.09)
CIE-LCHlch(41.68, 62.13, 346.89°)
OKLaboklab(52.23% 0.1848 -0.037)
OKLCHoklch(52.23% 0.188 348.7)
XYZxyz(22.4666, 12.2974, 19.9256)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1287B #28B15E
analogous
#A328B1 #B1287B #B12836
triadic
#B1287B #7BB128 #287BB1
tetradic
#B1287B #B1A328 #28B15E #2836B1
square
#B1287B #B1A328 #28B15E #2836B1
split-complementary
#B1287B #36B128 #28B1A3
monochromatic
#4D1136 #7F1D58 #B1287B #D4429B #E074B5

Accessibility & contrast

On white

6.07
#B1287B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B1287B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1287B
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1287B#FFFFFF#000000##FFFFFF
##B1287B1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537D
Deuteranopia (green-blind)
#676B78
Tritanopia (blue-blind)
#BE204E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b1287b;
/* rgb */ color: rgb(177, 40, 123);
/* oklch */ color: oklch(52.2% 0.188 348.7);
Tailwind
colors: {
  custom: {
    50: '#cd70a1',
    500: '#b1287b',
    950: '#000000',
  },
}
SCSS
$custom: #b1287b;
$custom-light: #cd70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b1287b",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 323.65,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.18847,
    "h": 348.7
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#B1287B
secondary
#6EC791
accent
#E68242
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B1287B

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

Preview Lab → · Contrast checker → · Palette generator →

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