#B02889#B02889

#B02889 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.196 H 342.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B02889
RGBrgb(176, 40, 137)
HSLhsl(317, 63%, 42%)
HSVhsv(317, 77%, 69%)
CMYKcmyk(0%, 77.3%, 22.2%, 31%)
CIE-LABlab(42.09, 62.01, -22.10)
CIE-LCHlch(42.09, 65.83, 340.39°)
OKLaboklab(52.68% 0.1866 -0.0593)
OKLCHoklch(52.68% 0.196 342.4)
XYZxyz(23.1795, 12.5563, 24.8649)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02889 #28B04F
analogous
#9328B0 #B02889 #B02845
triadic
#B02889 #89B028 #2889B0
tetradic
#B02889 #B09328 #28B04F #2845B0
square
#B02889 #B09328 #28B04F #2845B0
split-complementary
#B02889 #45B028 #28B093
monochromatic
#4C113B #7E1D62 #B02889 #D441AA #DF73C0

Accessibility & contrast

On white

5.98
#B02889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02889
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02889#FFFFFF#000000##FFFFFF
##B028891.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#BB2956
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02889;
/* rgb */ color: rgb(176, 40, 137);
/* oklch */ color: oklch(52.7% 0.196 342.4);
Tailwind
colors: {
  custom: {
    50: '#cc71ab',
    500: '#b02889',
    950: '#000000',
  },
}
SCSS
$custom: #b02889;
$custom-light: #cc71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02889",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 317.206,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.19583,
    "h": 342.4
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#B02889
secondary
#6DC687
accent
#E67142
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02889

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

Preview Lab → · Contrast checker → · Palette generator →

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