#B02B7C#B02B7C

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

Color values

HEX#B02B7C
RGBrgb(176, 43, 124)
HSLhsl(323, 61%, 43%)
HSVhsv(323, 76%, 69%)
CMYKcmyk(0%, 75.6%, 29.5%, 31%)
CIE-LABlab(41.87, 59.44, -14.45)
CIE-LCHlch(41.87, 61.17, 346.34°)
OKLaboklab(52.34% 0.1812 -0.038)
OKLCHoklch(52.34% 0.185 348.2)
XYZxyz(22.4076, 12.4156, 20.2813)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B7C #2BB05F
analogous
#A22BB0 #B02B7C #B02B39
triadic
#B02B7C #7CB02B #2B7CB0
tetradic
#B02B7C #B0A22B #2BB05F #2B39B0
square
#B02B7C #B0A22B #2BB05F #2B39B0
split-complementary
#B02B7C #39B02B #2BB0A2
monochromatic
#4E1337 #7F1F59 #B02B7C #D2469B #DE78B6

Accessibility & contrast

On white

6.03
#B02B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02B7C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B7C#FFFFFF#000000##FFFFFF
##B02B7C1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#676B79
Tritanopia (blue-blind)
#BD2550
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02b7c;
/* rgb */ color: rgb(176, 43, 124);
/* oklch */ color: oklch(52.3% 0.185 348.2);
Tailwind
colors: {
  custom: {
    50: '#cc72a2',
    500: '#b02b7c',
    950: '#000000',
  },
}
SCSS
$custom: #b02b7c;
$custom-light: #cc72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b7c",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 323.459,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.18517,
    "h": 348.2
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#B02B7C
secondary
#71C692
accent
#E48244
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B02B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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