#B1285B#B1285B

#B1285B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.176 H 3.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B1285B
RGBrgb(177, 40, 91)
HSLhsl(338, 63%, 43%)
HSVhsv(338, 77%, 69%)
CMYKcmyk(0%, 77.4%, 48.6%, 30.6%)
CIE-LABlab(40.61, 57.20, 4.33)
CIE-LCHlch(40.61, 57.37, 4.33°)
OKLaboklab(51.09% 0.1752 0.0117)
OKLCHoklch(51.09% 0.176 3.8)
XYZxyz(20.7804, 11.6229, 11.0447)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1285B #28B17E
analogous
#B128A0 #B1285B #B13928
triadic
#B1285B #5BB128 #285BB1
tetradic
#B1285B #A0B128 #28B17E #3928B1
square
#B1285B #A0B128 #28B17E #3928B1
split-complementary
#B1285B #28B139 #28A0B1
monochromatic
#4D1128 #7F1D41 #B1285B #D44278 #E0749C

Accessibility & contrast

On white

6.32
#B1285B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B1285B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1285B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1285B#FFFFFF#000000##FFFFFF
##B1285B1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5C
Deuteranopia (green-blind)
#6E6958
Tritanopia (blue-blind)
#C1023E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1285b;
/* rgb */ color: rgb(177, 40, 91);
/* oklch */ color: oklch(51.1% 0.176 3.8);
Tailwind
colors: {
  custom: {
    50: '#ce6f89',
    500: '#b1285b',
    950: '#000000',
  },
}
SCSS
$custom: #b1285b;
$custom-light: #ce6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#b1285b",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 337.664,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.17559,
    "h": 3.8
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#B1285B
secondary
#6EC7A6
accent
#E6A942
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B1285B

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

Preview Lab → · Contrast checker → · Palette generator →

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