#B02162#B02162

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

Color values

HEX#B02162
RGBrgb(176, 33, 98)
HSLhsl(333, 68%, 41%)
HSVhsv(333, 81%, 69%)
CMYKcmyk(0%, 81.3%, 44.3%, 31%)
CIE-LABlab(39.92, 59.57, -1.12)
CIE-LCHlch(39.92, 59.58, 358.92°)
OKLaboklab(50.62% 0.1833 -0.0022)
OKLCHoklch(50.62% 0.183 359.3)
XYZxyz(20.6546, 11.2024, 12.6276)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02162 #21B06F
analogous
#B021A9 #B02162 #B02721
triadic
#B02162 #62B021 #2162B0
tetradic
#B02162 #A9B021 #21B06F #2721B0
square
#B02162 #A9B021 #21B06F #2721B0
split-complementary
#B02162 #21B027 #21A9B0
monochromatic
#490E29 #7C1745 #B02162 #D93580 #E369A0

Accessibility & contrast

On white

6.48
#B02162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02162
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02162#FFFFFF#000000##FFFFFF
##B021621.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D63
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#BF003F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02162;
/* rgb */ color: rgb(176, 33, 98);
/* oklch */ color: oklch(50.6% 0.183 359.3);
Tailwind
colors: {
  custom: {
    50: '#cd6d8e',
    500: '#b02162',
    950: '#000000',
  },
}
SCSS
$custom: #b02162;
$custom-light: #cd6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02162",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 332.727,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.18327,
    "h": 359.3
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#B02162
secondary
#64C89B
accent
#EB9C3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02162

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

Preview Lab → · Contrast checker → · Palette generator →

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