#B01B8C#B01B8C

#B01B8C is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 52.0% C 0.209 H 340.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B01B8C
RGBrgb(176, 27, 140)
HSLhsl(314, 73%, 40%)
HSVhsv(314, 85%, 69%)
CMYKcmyk(0%, 84.7%, 20.5%, 31%)
CIE-LABlab(41.07, 65.71, -25.51)
CIE-LCHlch(41.07, 70.49, 338.79°)
OKLaboklab(51.99% 0.1972 -0.0689)
OKLCHoklch(51.99% 0.209 340.7)
XYZxyz(23.0308, 11.9099, 25.8918)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B01B8C #1BB03F
analogous
#8A1BB0 #B01B8C #B01B41
triadic
#B01B8C #8CB01B #1B8CB0
tetradic
#B01B8C #B08A1B #1BB03F #1B41B0
square
#B01B8C #B08A1B #1BB03F #1B41B0
split-complementary
#B01B8C #41B01B #1BB08A
monochromatic
#460B38 #7B1362 #B01B8C #DE2AB3 #E65FC6

Accessibility & contrast

On white

6.21
#B01B8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B01B8C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B01B8C#FFFFFF#000000##FFFFFF
##B01B8C1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#BB2154
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b01b8c;
/* rgb */ color: rgb(176, 27, 140);
/* oklch */ color: oklch(52.0% 0.209 340.7);
Tailwind
colors: {
  custom: {
    50: '#cc6dae',
    500: '#b01b8c',
    950: '#000000',
  },
}
SCSS
$custom: #b01b8c;
$custom-light: #cc6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#b01b8c",
  "rgb": {
    "r": 176,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 314.497,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.20886,
    "h": 340.7
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#B01B8C
secondary
#5CCB77
accent
#F06438
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B01B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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