#B02891#B02891

#B02891 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.201 H 339.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B02891
RGBrgb(176, 40, 145)
HSLhsl(314, 63%, 42%)
HSVhsv(314, 77%, 69%)
CMYKcmyk(0%, 77.3%, 17.6%, 31%)
CIE-LABlab(42.45, 63.09, -26.40)
CIE-LCHlch(42.45, 68.39, 337.29°)
OKLaboklab(53.06% 0.1877 -0.0715)
OKLCHoklch(53.06% 0.201 339.1)
XYZxyz(23.7748, 12.7944, 28.0000)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02891 #28B047
analogous
#8B28B0 #B02891 #B0284D
triadic
#B02891 #91B028 #2891B0
tetradic
#B02891 #B08B28 #28B047 #284DB0
square
#B02891 #B08B28 #28B047 #284DB0
split-complementary
#B02891 #4DB028 #28B08B
monochromatic
#4C113F #7E1D68 #B02891 #D441B2 #DF73C7

Accessibility & contrast

On white

5.90
#B02891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B02891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02891
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02891#FFFFFF#000000##FFFFFF
##B028911.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315794
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#BA2E5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02891;
/* rgb */ color: rgb(176, 40, 145);
/* oklch */ color: oklch(53.1% 0.201 339.1);
Tailwind
colors: {
  custom: {
    50: '#cc71b1',
    500: '#b02891',
    950: '#000000',
  },
}
SCSS
$custom: #b02891;
$custom-light: #cc71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02891",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 313.676,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53058,
    "c": 0.2009,
    "h": 339.1
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#B02891
secondary
#6DC682
accent
#E66742
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02891

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

Preview Lab → · Contrast checker → · Palette generator →

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