#B02B8B#B02B8B

#B02B8B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.194 H 341.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B02B8B
RGBrgb(176, 43, 139)
HSLhsl(317, 61%, 43%)
HSVhsv(317, 76%, 69%)
CMYKcmyk(0%, 75.6%, 21%, 31%)
CIE-LABlab(42.50, 61.36, -22.68)
CIE-LCHlch(42.50, 65.42, 339.71°)
OKLaboklab(53% 0.1841 -0.061)
OKLCHoklch(53% 0.194 341.7)
XYZxyz(23.4294, 12.8243, 25.6626)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B8B #2BB050
analogous
#932BB0 #B02B8B #B02B48
triadic
#B02B8B #8BB02B #2B8BB0
tetradic
#B02B8B #B0932B #2BB050 #2B48B0
square
#B02B8B #B0932B #2BB050 #2B48B0
split-complementary
#B02B8B #48B02B #2BB093
monochromatic
#4E133D #7F1F64 #B02B8B #D246AB #DE78C1

Accessibility & contrast

On white

5.89
#B02B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02B8B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B8B#FFFFFF#000000##FFFFFF
##B02B8B1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#BB2D58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02b8b;
/* rgb */ color: rgb(176, 43, 139);
/* oklch */ color: oklch(53.0% 0.194 341.7);
Tailwind
colors: {
  custom: {
    50: '#cc72ad',
    500: '#b02b8b',
    950: '#000000',
  },
}
SCSS
$custom: #b02b8b;
$custom-light: #cc72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b8b",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 316.692,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53002,
    "c": 0.19398,
    "h": 341.7
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#B02B8B
secondary
#71C689
accent
#E47044
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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