#B02B7B#B02B7B

#B02B7B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.185 H 348.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B02B7B
RGBrgb(176, 43, 123)
HSLhsl(324, 61%, 43%)
HSVhsv(324, 76%, 69%)
CMYKcmyk(0%, 75.6%, 30.1%, 31%)
CIE-LABlab(41.83, 59.32, -13.89)
CIE-LCHlch(41.83, 60.93, 346.82°)
OKLaboklab(52.3% 0.181 -0.0365)
OKLCHoklch(52.3% 0.185 348.6)
XYZxyz(22.3447, 12.3905, 19.9499)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B7B #2BB060
analogous
#A32BB0 #B02B7B #B02B38
triadic
#B02B7B #7BB02B #2B7BB0
tetradic
#B02B7B #B0A32B #2BB060 #2B38B0
square
#B02B7B #B0A32B #2BB060 #2B38B0
split-complementary
#B02B7B #38B02B #2BB0A3
monochromatic
#4E1336 #7F1F59 #B02B7B #D2469A #DE78B5

Accessibility & contrast

On white

6.04
#B02B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B02B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B7B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B7B#FFFFFF#000000##FFFFFF
##B02B7B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#676B78
Tritanopia (blue-blind)
#BD244F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02b7b;
/* rgb */ color: rgb(176, 43, 123);
/* oklch */ color: oklch(52.3% 0.185 348.6);
Tailwind
colors: {
  custom: {
    50: '#cc72a1',
    500: '#b02b7b',
    950: '#000000',
  },
}
SCSS
$custom: #b02b7b;
$custom-light: #cc72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b7b",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 323.91,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.18464,
    "h": 348.6
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#B02B7B
secondary
#71C693
accent
#E48444
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B02B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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