#B1287C#B1287C

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

Color values

HEX#B1287C
RGBrgb(177, 40, 124)
HSLhsl(323, 63%, 43%)
HSVhsv(323, 77%, 69%)
CMYKcmyk(0%, 77.4%, 29.9%, 30.6%)
CIE-LABlab(41.72, 60.63, -14.65)
CIE-LCHlch(41.72, 62.37, 346.42°)
OKLaboklab(52.27% 0.185 -0.0385)
OKLCHoklch(52.27% 0.189 348.2)
XYZxyz(22.5295, 12.3225, 20.2569)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1287C #28B15D
analogous
#A228B1 #B1287C #B12837
triadic
#B1287C #7CB128 #287CB1
tetradic
#B1287C #B1A228 #28B15D #2837B1
square
#B1287C #B1A228 #28B15D #2837B1
split-complementary
#B1287C #37B128 #28B1A2
monochromatic
#4D1136 #7F1D59 #B1287C #D4429C #E074B6

Accessibility & contrast

On white

6.06
#B1287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1287C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1287C#FFFFFF#000000##FFFFFF
##B1287C1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#BE214F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b1287c;
/* rgb */ color: rgb(177, 40, 124);
/* oklch */ color: oklch(52.3% 0.189 348.2);
Tailwind
colors: {
  custom: {
    50: '#cd71a2',
    500: '#b1287c',
    950: '#000000',
  },
}
SCSS
$custom: #b1287c;
$custom-light: #cd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1287c",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 323.212,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.189,
    "h": 348.2
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#B1287C
secondary
#6EC790
accent
#E68142
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B1287C

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

Preview Lab → · Contrast checker → · Palette generator →

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