#B02166#B02166

#B02166 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.185 H 357.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B02166
RGBrgb(176, 33, 102)
HSLhsl(331, 68%, 41%)
HSVhsv(331, 81%, 69%)
CMYKcmyk(0%, 81.3%, 42%, 31%)
CIE-LABlab(40.05, 59.96, -3.46)
CIE-LCHlch(40.05, 60.05, 356.70°)
OKLaboklab(50.75% 0.1845 -0.0083)
OKLCHoklch(50.75% 0.185 357.4)
XYZxyz(20.8482, 11.2799, 13.6472)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02166 #21B06B
analogous
#B021AD #B02166 #B02321
triadic
#B02166 #66B021 #2166B0
tetradic
#B02166 #ADB021 #21B06B #2321B0
square
#B02166 #ADB021 #21B06B #2321B0
split-complementary
#B02166 #21B023 #21ADB0
monochromatic
#490E2A #7C1748 #B02166 #D93584 #E369A4

Accessibility & contrast

On white

6.45
#B02166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B02166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02166
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02166#FFFFFF#000000##FFFFFF
##B021661.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424D68
Deuteranopia (green-blind)
#696863
Tritanopia (blue-blind)
#BF0041
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02166;
/* rgb */ color: rgb(176, 33, 102);
/* oklch */ color: oklch(50.8% 0.185 357.4);
Tailwind
colors: {
  custom: {
    50: '#cd6d91',
    500: '#b02166',
    950: '#000000',
  },
}
SCSS
$custom: #b02166;
$custom-light: #cd6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#b02166",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 331.049,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.18472,
    "h": 357.4
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#B02166
secondary
#64C898
accent
#EB973D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #B02166

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

Preview Lab → · Contrast checker → · Palette generator →

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