#B02881#B02881

#B02881 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.191 H 345.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B02881
RGBrgb(176, 40, 129)
HSLhsl(321, 63%, 42%)
HSVhsv(321, 77%, 69%)
CMYKcmyk(0%, 77.3%, 26.7%, 31%)
CIE-LABlab(41.74, 60.99, -17.72)
CIE-LCHlch(41.74, 63.51, 343.80°)
OKLaboklab(52.32% 0.1852 -0.047)
OKLCHoklch(52.32% 0.191 345.7)
XYZxyz(22.6268, 12.3352, 21.9540)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02881 #28B057
analogous
#9B28B0 #B02881 #B0283D
triadic
#B02881 #81B028 #2881B0
tetradic
#B02881 #B09B28 #28B057 #283DB0
square
#B02881 #B09B28 #28B057 #283DB0
split-complementary
#B02881 #3DB028 #28B09B
monochromatic
#4C1138 #7E1D5C #B02881 #D441A1 #DF73BA

Accessibility & contrast

On white

6.06
#B02881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B02881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02881
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02881#FFFFFF#000000##FFFFFF
##B028811.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#BC2552
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02881;
/* rgb */ color: rgb(176, 40, 129);
/* oklch */ color: oklch(52.3% 0.191 345.7);
Tailwind
colors: {
  custom: {
    50: '#cc71a5',
    500: '#b02881',
    950: '#000000',
  },
}
SCSS
$custom: #b02881;
$custom-light: #cc71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02881",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 320.735,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.19108,
    "h": 345.7
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#B02881
secondary
#6DC68C
accent
#E67B42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02881

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

Preview Lab → · Contrast checker → · Palette generator →

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