#B1289C#B1289C

#B1289C is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.209 H 335.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B1289C
RGBrgb(177, 40, 156)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 77%, 69%)
CMYKcmyk(0%, 77.4%, 11.9%, 30.6%)
CIE-LABlab(43.16, 64.88, -31.92)
CIE-LCHlch(43.16, 72.31, 333.80°)
OKLaboklab(53.78% 0.1897 -0.0873)
OKLCHoklch(53.78% 0.209 335.3)
XYZxyz(24.8914, 13.2673, 32.6959)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1289C #28B13D
analogous
#8128B1 #B1289C #B12858
triadic
#B1289C #9CB128 #289CB1
tetradic
#B1289C #B18128 #28B13D #2858B1
square
#B1289C #B18128 #28B13D #2858B1
split-complementary
#B1289C #58B128 #28B181
monochromatic
#4D1144 #7F1D70 #B1289C #D442BE #E074CF

Accessibility & contrast

On white

5.75
#B1289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B1289C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1289C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1289C#FFFFFF#000000##FFFFFF
##B1289C1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#5B6D99
Tritanopia (blue-blind)
#BA3460
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1289c;
/* rgb */ color: rgb(177, 40, 156);
/* oklch */ color: oklch(53.8% 0.209 335.3);
Tailwind
colors: {
  custom: {
    50: '#cc72b9',
    500: '#b1289c',
    950: '#000000',
  },
}
SCSS
$custom: #b1289c;
$custom-light: #cc72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b1289c",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 309.197,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.20883,
    "h": 335.3
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#B1289C
secondary
#6EC77C
accent
#E65B42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B1289C

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

Preview Lab → · Contrast checker → · Palette generator →

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