#B02B8F#B02B8F

#B02B8F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.2% C 0.197 H 340.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B02B8F
RGBrgb(176, 43, 143)
HSLhsl(315, 61%, 43%)
HSVhsv(315, 76%, 69%)
CMYKcmyk(0%, 75.6%, 18.7%, 31%)
CIE-LABlab(42.68, 61.90, -24.84)
CIE-LCHlch(42.68, 66.70, 338.14°)
OKLaboklab(53.19% 0.1847 -0.0671)
OKLCHoklch(53.19% 0.197 340)
XYZxyz(23.7270, 12.9434, 27.2300)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B8F #2BB04C
analogous
#8E2BB0 #B02B8F #B02B4C
triadic
#B02B8F #8FB02B #2B8FB0
tetradic
#B02B8F #B08E2B #2BB04C #2B4CB0
square
#B02B8F #B08E2B #2BB04C #2B4CB0
split-complementary
#B02B8F #4CB02B #2BB08E
monochromatic
#4E133F #7F1F67 #B02B8F #D246AF #DE78C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02B8F#FFFFFF#000000##FFFFFF
##B02B8F1.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)
#355792
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#BB2F5A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02b8f;
/* rgb */ color: rgb(176, 43, 143);
/* oklch */ color: oklch(53.2% 0.197 340.0);
Tailwind
colors: {
  custom: {
    50: '#cc72b0',
    500: '#b02b8f',
    950: '#000000',
  },
}
SCSS
$custom: #b02b8f;
$custom-light: #cc72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b8f",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 314.887,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.19653,
    "h": 340
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#B02B8F
secondary
#71C686
accent
#E46C44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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