#B02163#B02163

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

Color values

HEX#B02163
RGBrgb(176, 33, 99)
HSLhsl(332, 68%, 41%)
HSVhsv(332, 81%, 69%)
CMYKcmyk(0%, 81.3%, 43.8%, 31%)
CIE-LABlab(39.95, 59.67, -1.71)
CIE-LCHlch(39.95, 59.69, 358.36°)
OKLaboklab(50.65% 0.1836 -0.0038)
OKLCHoklch(50.65% 0.184 358.8)
XYZxyz(20.7021, 11.2215, 12.8778)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02163 #21B06E
analogous
#B021AA #B02163 #B02721
triadic
#B02163 #63B021 #2163B0
tetradic
#B02163 #AAB021 #21B06E #2721B0
square
#B02163 #AAB021 #21B06E #2721B0
split-complementary
#B02163 #21B027 #21AAB0
monochromatic
#490E29 #7C1746 #B02163 #D93581 #E369A1

Accessibility & contrast

On white

6.47
#B02163 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02163
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02163#FFFFFF#000000##FFFFFF
##B021631.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D65
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#BF0040
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02163;
/* rgb */ color: rgb(176, 33, 99);
/* oklch */ color: oklch(50.6% 0.184 358.8);
Tailwind
colors: {
  custom: {
    50: '#cd6d8f',
    500: '#b02163',
    950: '#000000',
  },
}
SCSS
$custom: #b02163;
$custom-light: #cd6d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02163",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 332.308,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.18363,
    "h": 358.8
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#B02163
secondary
#64C89A
accent
#EB9B3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02163

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

Preview Lab → · Contrast checker → · Palette generator →

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