#B02888#B02888

#B02888 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.195 H 342.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B02888
RGBrgb(176, 40, 136)
HSLhsl(318, 63%, 42%)
HSVhsv(318, 77%, 69%)
CMYKcmyk(0%, 77.3%, 22.7%, 31%)
CIE-LABlab(42.04, 61.88, -21.55)
CIE-LCHlch(42.04, 65.53, 340.80°)
OKLaboklab(52.63% 0.1865 -0.0578)
OKLCHoklch(52.63% 0.195 342.8)
XYZxyz(23.1081, 12.5277, 24.4889)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02888 #28B050
analogous
#9428B0 #B02888 #B02844
triadic
#B02888 #88B028 #2888B0
tetradic
#B02888 #B09428 #28B050 #2844B0
square
#B02888 #B09428 #28B050 #2844B0
split-complementary
#B02888 #44B028 #28B094
monochromatic
#4C113B #7E1D61 #B02888 #D441A9 #DF73BF

Accessibility & contrast

On white

5.99
#B02888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B02888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02888
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02888#FFFFFF#000000##FFFFFF
##B028881.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558B
Deuteranopia (green-blind)
#626B85
Tritanopia (blue-blind)
#BB2955
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02888;
/* rgb */ color: rgb(176, 40, 136);
/* oklch */ color: oklch(52.6% 0.195 342.8);
Tailwind
colors: {
  custom: {
    50: '#cc71ab',
    500: '#b02888',
    950: '#000000',
  },
}
SCSS
$custom: #b02888;
$custom-light: #cc71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02888",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 317.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.19522,
    "h": 342.8
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#B02888
secondary
#6DC688
accent
#E67242
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02888

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

Preview Lab → · Contrast checker → · Palette generator →

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