#B1289D#B1289D

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

Color values

HEX#B1289D
RGBrgb(177, 40, 157)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 77%, 69%)
CMYKcmyk(0%, 77.4%, 11.3%, 30.6%)
CIE-LABlab(43.21, 65.03, -32.44)
CIE-LCHlch(43.21, 72.67, 333.48°)
OKLaboklab(53.83% 0.1898 -0.0888)
OKLCHoklch(53.83% 0.21 334.9)
XYZxyz(24.9764, 13.3013, 33.1437)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1289D #28B13C
analogous
#8028B1 #B1289D #B12859
triadic
#B1289D #9DB128 #289DB1
tetradic
#B1289D #B18028 #28B13C #2859B1
square
#B1289D #B18028 #28B13C #2859B1
split-complementary
#B1289D #59B128 #28B180
monochromatic
#4D1144 #7F1D71 #B1289D #D442BF #E074D0

Accessibility & contrast

On white

5.74
#B1289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B1289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1289D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1289D#FFFFFF#000000##FFFFFF
##B1289D1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#BA3561
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1289d;
/* rgb */ color: rgb(177, 40, 157);
/* oklch */ color: oklch(53.8% 0.210 334.9);
Tailwind
colors: {
  custom: {
    50: '#cc72ba',
    500: '#b1289d',
    950: '#000000',
  },
}
SCSS
$custom: #b1289d;
$custom-light: #cc72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b1289d",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 308.759,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.20952,
    "h": 334.9
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#B1289D
secondary
#6EC77B
accent
#E65A42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B1289D

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

Preview Lab → · Contrast checker → · Palette generator →

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