#B1287F#B1287F

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

Color values

HEX#B1287F
RGBrgb(177, 40, 127)
HSLhsl(322, 63%, 43%)
HSVhsv(322, 77%, 69%)
CMYKcmyk(0%, 77.4%, 28.2%, 30.6%)
CIE-LABlab(41.84, 60.99, -16.32)
CIE-LCHlch(41.84, 63.13, 345.02°)
OKLaboklab(52.4% 0.1857 -0.0431)
OKLCHoklch(52.4% 0.191 346.9)
XYZxyz(22.7221, 12.3996, 21.2713)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1287F #28B15A
analogous
#9F28B1 #B1287F #B1283A
triadic
#B1287F #7FB128 #287FB1
tetradic
#B1287F #B19F28 #28B15A #283AB1
square
#B1287F #B19F28 #28B15A #283AB1
split-complementary
#B1287F #3AB128 #28B19F
monochromatic
#4D1137 #7F1D5B #B1287F #D4429F #E074B8

Accessibility & contrast

On white

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

On black

3.48
#B1287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B1287F#FFFFFF#000000##FFFFFF
##B1287F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#BE2351
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b1287f;
/* rgb */ color: rgb(177, 40, 127);
/* oklch */ color: oklch(52.4% 0.191 346.9);
Tailwind
colors: {
  custom: {
    50: '#cd71a4',
    500: '#b1287f',
    950: '#000000',
  },
}
SCSS
$custom: #b1287f;
$custom-light: #cd71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1287f",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 321.898,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.19063,
    "h": 346.9
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#B1287F
secondary
#6EC78E
accent
#E67E42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1287F

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

Preview Lab → · Contrast checker → · Palette generator →

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