#B02562#B02562

#B02562 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.180 H 359.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B02562
RGBrgb(176, 37, 98)
HSLhsl(334, 65%, 42%)
HSVhsv(334, 79%, 69%)
CMYKcmyk(0%, 79%, 44.3%, 31%)
CIE-LABlab(40.31, 58.47, -0.55)
CIE-LCHlch(40.31, 58.47, 359.46°)
OKLaboklab(50.9% 0.1797 -0.0008)
OKLCHoklch(50.9% 0.18 359.8)
XYZxyz(20.7723, 11.4379, 12.6668)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02562 #25B073
analogous
#B025A8 #B02562 #B02E25
triadic
#B02562 #62B025 #2562B0
tetradic
#B02562 #A8B025 #25B073 #2E25B0
square
#B02562 #A8B025 #25B073 #2E25B0
split-complementary
#B02562 #25B02E #25A8B0
monochromatic
#4B102A #7D1A46 #B02562 #D63C80 #E16FA1

Accessibility & contrast

On white

6.39
#B02562 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B02562 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02562
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02562#FFFFFF#000000##FFFFFF
##B025621.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02562;
/* rgb */ color: rgb(176, 37, 98);
/* oklch */ color: oklch(50.9% 0.180 359.8);
Tailwind
colors: {
  custom: {
    50: '#cd6e8e',
    500: '#b02562',
    950: '#000000',
  },
}
SCSS
$custom: #b02562;
$custom-light: #cd6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02562",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 333.669,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.509,
    "c": 0.1797,
    "h": 359.8
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#B02562
secondary
#6AC79E
accent
#E89E40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02562

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

Preview Lab → · Contrast checker → · Palette generator →

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