#B02896#B02896

#B02896 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.3% C 0.204 H 337.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B02896
RGBrgb(176, 40, 150)
HSLhsl(311, 63%, 42%)
HSVhsv(311, 77%, 69%)
CMYKcmyk(0%, 77.3%, 14.8%, 31%)
CIE-LABlab(42.69, 63.79, -29.06)
CIE-LCHlch(42.69, 70.10, 335.51°)
OKLaboklab(53.31% 0.1883 -0.0791)
OKLCHoklch(53.31% 0.204 337.2)
XYZxyz(24.1688, 12.9520, 30.0754)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02896 #28B042
analogous
#8628B0 #B02896 #B02852
triadic
#B02896 #96B028 #2896B0
tetradic
#B02896 #B08628 #28B042 #2852B0
square
#B02896 #B08628 #28B042 #2852B0
split-complementary
#B02896 #52B028 #28B086
monochromatic
#4C1141 #7E1D6B #B02896 #D441B8 #DF73CB

Accessibility & contrast

On white

5.85
#B02896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B02896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02896
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02896#FFFFFF#000000##FFFFFF
##B028961.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#BA315D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02896;
/* rgb */ color: rgb(176, 40, 150);
/* oklch */ color: oklch(53.3% 0.204 337.2);
Tailwind
colors: {
  custom: {
    50: '#cc71b5',
    500: '#b02896',
    950: '#000000',
  },
}
SCSS
$custom: #b02896;
$custom-light: #cc71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02896",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 311.471,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.2042,
    "h": 337.2
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#B02896
secondary
#6DC67E
accent
#E66142
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02896

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

Preview Lab → · Contrast checker → · Palette generator →

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