#B1287E#B1287E

#B1287E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.190 H 347.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B1287E
RGBrgb(177, 40, 126)
HSLhsl(322, 63%, 43%)
HSVhsv(322, 77%, 69%)
CMYKcmyk(0%, 77.4%, 28.8%, 30.6%)
CIE-LABlab(41.80, 60.87, -15.76)
CIE-LCHlch(41.80, 62.88, 345.48°)
OKLaboklab(52.35% 0.1855 -0.0416)
OKLCHoklch(52.35% 0.19 347.4)
XYZxyz(22.6573, 12.3736, 20.9298)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1287E #28B15B
analogous
#A028B1 #B1287E #B12839
triadic
#B1287E #7EB128 #287EB1
tetradic
#B1287E #B1A028 #28B15B #2839B1
square
#B1287E #B1A028 #28B15B #2839B1
split-complementary
#B1287E #39B128 #28B1A0
monochromatic
#4D1137 #7F1D5A #B1287E #D4429E #E074B7

Accessibility & contrast

On white

6.04
#B1287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1287E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1287E#FFFFFF#000000##FFFFFF
##B1287E1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#BE2250
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b1287e;
/* rgb */ color: rgb(177, 40, 126);
/* oklch */ color: oklch(52.4% 0.190 347.4);
Tailwind
colors: {
  custom: {
    50: '#cd71a3',
    500: '#b1287e',
    950: '#000000',
  },
}
SCSS
$custom: #b1287e;
$custom-light: #cd71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b1287e",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 322.336,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.19008,
    "h": 347.4
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#B1287E
secondary
#6EC78F
accent
#E67F42
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1287E

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

Preview Lab → · Contrast checker → · Palette generator →

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