#B02C8A#B02C8A

#B02C8A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.192 H 342.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B02C8A
RGBrgb(176, 44, 138)
HSLhsl(317, 60%, 43%)
HSVhsv(317, 75%, 69%)
CMYKcmyk(0%, 75%, 21.6%, 31%)
CIE-LABlab(42.56, 60.91, -21.97)
CIE-LCHlch(42.56, 64.75, 340.17°)
OKLaboklab(53.04% 0.183 -0.059)
OKLCHoklch(53.04% 0.192 342.1)
XYZxyz(23.3934, 12.8689, 25.2918)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02C8A #2CB052
analogous
#942CB0 #B02C8A #B02C48
triadic
#B02C8A #8AB02C #2C8AB0
tetradic
#B02C8A #B0942C #2CB052 #2C48B0
square
#B02C8A #B0942C #2CB052 #2C48B0
split-complementary
#B02C8A #48B02C #2CB094
monochromatic
#4E143D #7F2064 #B02C8A #D148AA #DD79C1

Accessibility & contrast

On white

5.88
#B02C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B02C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02C8A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02C8A#FFFFFF#000000##FFFFFF
##B02C8A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#BB2E58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02c8a;
/* rgb */ color: rgb(176, 44, 138);
/* oklch */ color: oklch(53.0% 0.192 342.1);
Tailwind
colors: {
  custom: {
    50: '#cc72ac',
    500: '#b02c8a',
    950: '#000000',
  },
}
SCSS
$custom: #b02c8a;
$custom-light: #cc72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b02c8a",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 317.273,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.19228,
    "h": 342.1
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#B02C8A
secondary
#72C68A
accent
#E37245
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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