#B02161#B02161

#B02161 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 359.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B02161
RGBrgb(176, 33, 97)
HSLhsl(333, 68%, 41%)
HSVhsv(333, 81%, 69%)
CMYKcmyk(0%, 81.3%, 44.9%, 31%)
CIE-LABlab(39.89, 59.48, -0.53)
CIE-LCHlch(39.89, 59.48, 359.49°)
OKLaboklab(50.58% 0.1829 -0.0007)
OKLCHoklch(50.58% 0.183 359.8)
XYZxyz(20.6077, 11.1837, 12.3804)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02161 #21B070
analogous
#B021A8 #B02161 #B02921
triadic
#B02161 #61B021 #2161B0
tetradic
#B02161 #A8B021 #21B070 #2921B0
square
#B02161 #A8B021 #21B070 #2921B0
split-complementary
#B02161 #21B029 #21A8B0
monochromatic
#490E28 #7C1745 #B02161 #D9357E #E3699F

Accessibility & contrast

On white

6.49
#B02161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B02161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02161
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02161#FFFFFF#000000##FFFFFF
##B021611.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D62
Deuteranopia (green-blind)
#6A685E
Tritanopia (blue-blind)
#BF003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02161;
/* rgb */ color: rgb(176, 33, 97);
/* oklch */ color: oklch(50.6% 0.183 359.8);
Tailwind
colors: {
  custom: {
    50: '#cd6d8d',
    500: '#b02161',
    950: '#000000',
  },
}
SCSS
$custom: #b02161;
$custom-light: #cd6d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b02161",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 333.147,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.18293,
    "h": 359.8
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#B02161
secondary
#64C89C
accent
#EB9D3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02161

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

Preview Lab → · Contrast checker → · Palette generator →

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