#B02582#B02582

#B02582 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.195 H 345.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B02582
RGBrgb(176, 37, 130)
HSLhsl(320, 65%, 42%)
HSVhsv(320, 79%, 69%)
CMYKcmyk(0%, 79%, 26.1%, 31%)
CIE-LABlab(41.48, 61.98, -18.74)
CIE-LCHlch(41.48, 64.75, 343.18°)
OKLaboklab(52.14% 0.1881 -0.0499)
OKLCHoklch(52.14% 0.195 345.2)
XYZxyz(22.5963, 12.1675, 22.2733)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02582 #25B053
analogous
#9925B0 #B02582 #B0253D
triadic
#B02582 #82B025 #2582B0
tetradic
#B02582 #B09925 #25B053 #253DB0
square
#B02582 #B09925 #25B053 #253DB0
split-complementary
#B02582 #3DB025 #25B099
monochromatic
#4B1037 #7D1A5D #B02582 #D63CA3 #E16FBB

Accessibility & contrast

On white

6.12
#B02582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B02582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02582
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02582#FFFFFF#000000##FFFFFF
##B025821.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#BC2251
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02582;
/* rgb */ color: rgb(176, 37, 130);
/* oklch */ color: oklch(52.1% 0.195 345.2);
Tailwind
colors: {
  custom: {
    50: '#cc6fa6',
    500: '#b02582',
    950: '#000000',
  },
}
SCSS
$custom: #b02582;
$custom-light: #cc6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02582",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 319.856,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.19459,
    "h": 345.2
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#B02582
secondary
#6AC789
accent
#E87740
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B02582

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

Preview Lab → · Contrast checker → · Palette generator →

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