#B02581#B02581

#B02581 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.194 H 345.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B02581
RGBrgb(176, 37, 129)
HSLhsl(320, 65%, 42%)
HSVhsv(320, 79%, 69%)
CMYKcmyk(0%, 79%, 26.7%, 31%)
CIE-LABlab(41.44, 61.86, -18.19)
CIE-LCHlch(41.44, 64.48, 343.62°)
OKLaboklab(52.09% 0.1879 -0.0483)
OKLCHoklch(52.09% 0.194 345.6)
XYZxyz(22.5295, 12.1407, 21.9216)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02581 #25B054
analogous
#9A25B0 #B02581 #B0253C
triadic
#B02581 #81B025 #2581B0
tetradic
#B02581 #B09A25 #25B054 #253CB0
square
#B02581 #B09A25 #25B054 #253CB0
split-complementary
#B02581 #3CB025 #25B09A
monochromatic
#4B1037 #7D1A5C #B02581 #D63CA2 #E16FBA

Accessibility & contrast

On white

6.13
#B02581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02581
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02581#FFFFFF#000000##FFFFFF
##B025811.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#BC2151
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02581;
/* rgb */ color: rgb(176, 37, 129);
/* oklch */ color: oklch(52.1% 0.194 345.6);
Tailwind
colors: {
  custom: {
    50: '#cc6fa5',
    500: '#b02581',
    950: '#000000',
  },
}
SCSS
$custom: #b02581;
$custom-light: #cc6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02581",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 320.288,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.19403,
    "h": 345.6
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02581

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

Preview Lab → · Contrast checker → · Palette generator →

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