#B01B8B#B01B8B

#B01B8B is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.208 H 341.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B01B8B
RGBrgb(176, 27, 139)
HSLhsl(315, 73%, 40%)
HSVhsv(315, 85%, 69%)
CMYKcmyk(0%, 84.7%, 21%, 31%)
CIE-LABlab(41.03, 65.59, -24.97)
CIE-LCHlch(41.03, 70.18, 339.16°)
OKLaboklab(51.94% 0.1971 -0.0673)
OKLCHoklch(51.94% 0.208 341.1)
XYZxyz(22.9574, 11.8805, 25.5052)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B01B8B #1BB040
analogous
#8A1BB0 #B01B8B #B01B41
triadic
#B01B8B #8BB01B #1B8BB0
tetradic
#B01B8B #B08A1B #1BB040 #1B41B0
square
#B01B8B #B08A1B #1BB040 #1B41B0
split-complementary
#B01B8B #41B01B #1BB08A
monochromatic
#460B37 #7B1361 #B01B8B #DE2AB2 #E65FC5

Accessibility & contrast

On white

6.22
#B01B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B01B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B01B8B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B01B8B#FFFFFF#000000##FFFFFF
##B01B8B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#BB2054
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b01b8b;
/* rgb */ color: rgb(176, 27, 139);
/* oklch */ color: oklch(51.9% 0.208 341.1);
Tailwind
colors: {
  custom: {
    50: '#cc6dad',
    500: '#b01b8b',
    950: '#000000',
  },
}
SCSS
$custom: #b01b8b;
$custom-light: #cc6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#b01b8b",
  "rgb": {
    "r": 176,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 314.899,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.20826,
    "h": 341.1
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#B01B8B
secondary
#5CCB78
accent
#F06638
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B01B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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