#B02168#B02168

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

Color values

HEX#B02168
RGBrgb(176, 33, 104)
HSLhsl(330, 68%, 41%)
HSVhsv(330, 81%, 69%)
CMYKcmyk(0%, 81.3%, 40.9%, 31%)
CIE-LABlab(40.11, 60.15, -4.62)
CIE-LCHlch(40.11, 60.33, 355.61°)
OKLaboklab(50.82% 0.1852 -0.0114)
OKLCHoklch(50.82% 0.186 356.5)
XYZxyz(20.9486, 11.3200, 14.1759)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02168 #21B069
analogous
#B021AF #B02168 #B02221
triadic
#B02168 #68B021 #2168B0
tetradic
#B02168 #AFB021 #21B069 #2221B0
square
#B02168 #AFB021 #21B069 #2221B0
split-complementary
#B02168 #21B022 #21AFB0
monochromatic
#490E2B #7C174A #B02168 #D93587 #E369A5

Accessibility & contrast

On white

6.44
#B02168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02168
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02168#FFFFFF#000000##FFFFFF
##B021681.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424E6A
Deuteranopia (green-blind)
#696865
Tritanopia (blue-blind)
#BF0242
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02168;
/* rgb */ color: rgb(176, 33, 104);
/* oklch */ color: oklch(50.8% 0.185 356.5);
Tailwind
colors: {
  custom: {
    50: '#cd6d93',
    500: '#b02168',
    950: '#000000',
  },
}
SCSS
$custom: #b02168;
$custom-light: #cd6d93;
$custom-dark: #000000;
JSON
{
  "hex": "#b02168",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 330.21,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50822,
    "c": 0.1855,
    "h": 356.5
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#B02168
secondary
#64C897
accent
#EB953D
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B02168

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

Preview Lab → · Contrast checker → · Palette generator →

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