#B02894#B02894

#B02894 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.2% C 0.203 H 338.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B02894
RGBrgb(176, 40, 148)
HSLhsl(312, 63%, 42%)
HSVhsv(312, 77%, 69%)
CMYKcmyk(0%, 77.3%, 15.9%, 31%)
CIE-LABlab(42.59, 63.51, -28.00)
CIE-LCHlch(42.59, 69.41, 336.21°)
OKLaboklab(53.21% 0.1881 -0.0761)
OKLCHoklch(53.21% 0.203 338)
XYZxyz(24.0091, 12.8881, 29.2344)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02894 #28B044
analogous
#8828B0 #B02894 #B02850
triadic
#B02894 #94B028 #2894B0
tetradic
#B02894 #B08828 #28B044 #2850B0
square
#B02894 #B08828 #28B044 #2850B0
split-complementary
#B02894 #50B028 #28B088
monochromatic
#4C1140 #7E1D6A #B02894 #D441B6 #DF73C9

Accessibility & contrast

On white

5.87
#B02894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B02894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02894
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02894#FFFFFF#000000##FFFFFF
##B028941.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#5D6C91
Tritanopia (blue-blind)
#BA305C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02894;
/* rgb */ color: rgb(176, 40, 148);
/* oklch */ color: oklch(53.2% 0.203 338.0);
Tailwind
colors: {
  custom: {
    50: '#cc71b3',
    500: '#b02894',
    950: '#000000',
  },
}
SCSS
$custom: #b02894;
$custom-light: #cc71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02894",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 312.353,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.20287,
    "h": 338
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#B02894
secondary
#6DC680
accent
#E66442
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02894

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

Preview Lab → · Contrast checker → · Palette generator →

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