#B01F7D#B01F7D

#B01F7D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 347.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B01F7D
RGBrgb(176, 31, 125)
HSLhsl(321, 70%, 41%)
HSVhsv(321, 82%, 69%)
CMYKcmyk(0%, 82.4%, 29%, 31%)
CIE-LABlab(40.72, 62.95, -16.81)
CIE-LCHlch(40.72, 65.15, 345.05°)
OKLaboklab(51.52% 0.192 -0.0445)
OKLCHoklch(51.52% 0.197 347)
XYZxyz(22.0973, 11.6933, 20.4914)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B01F7D #1FB052
analogous
#9A1FB0 #B01F7D #B01F35
triadic
#B01F7D #7DB01F #1F7DB0
tetradic
#B01F7D #B09A1F #1FB052 #1F35B0
square
#B01F7D #B09A1F #1FB052 #1F35B0
split-complementary
#B01F7D #35B01F #1FB09A
monochromatic
#480D33 #7C1658 #B01F7D #DB319F #E465B7

Accessibility & contrast

On white

6.29
#B01F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B01F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B01F7D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B01F7D#FFFFFF#000000##FFFFFF
##B01F7D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#BD184D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b01f7d;
/* rgb */ color: rgb(176, 31, 125);
/* oklch */ color: oklch(51.5% 0.197 347.0);
Tailwind
colors: {
  custom: {
    50: '#cc6da2',
    500: '#b01f7d',
    950: '#000000',
  },
}
SCSS
$custom: #b01f7d;
$custom-light: #cc6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#b01f7d",
  "rgb": {
    "r": 176,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 321.103,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.19711,
    "h": 347
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#B01F7D
secondary
#62C986
accent
#ED7A3B
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B01F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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