#B02462#B02462

#B02462 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.181 H 359.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B02462
RGBrgb(176, 36, 98)
HSLhsl(333, 66%, 42%)
HSVhsv(333, 80%, 69%)
CMYKcmyk(0%, 79.5%, 44.3%, 31%)
CIE-LABlab(40.21, 58.75, -0.70)
CIE-LCHlch(40.21, 58.76, 359.32°)
OKLaboklab(50.83% 0.1806 -0.0011)
OKLCHoklch(50.83% 0.181 359.6)
XYZxyz(20.7416, 11.3765, 12.6566)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02462 #24B072
analogous
#B024A8 #B02462 #B02C24
triadic
#B02462 #62B024 #2462B0
tetradic
#B02462 #A8B024 #24B072 #2C24B0
square
#B02462 #A8B024 #24B072 #2C24B0
split-complementary
#B02462 #24B02C #24A8B0
monochromatic
#4A0F29 #7D1A46 #B02462 #D73A80 #E16DA1

Accessibility & contrast

On white

6.41
#B02462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B02462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02462
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02462#FFFFFF#000000##FFFFFF
##B024621.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#BF0140
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02462;
/* rgb */ color: rgb(176, 36, 98);
/* oklch */ color: oklch(50.8% 0.181 359.6);
Tailwind
colors: {
  custom: {
    50: '#cd6e8e',
    500: '#b02462',
    950: '#000000',
  },
}
SCSS
$custom: #b02462;
$custom-light: #cd6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02462",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 333.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.18062,
    "h": 359.6
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#B02462
secondary
#68C89D
accent
#E99E3F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02462

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

Preview Lab → · Contrast checker → · Palette generator →

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