#B02C8D#B02C8D

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

Color values

HEX#B02C8D
RGBrgb(176, 44, 141)
HSLhsl(316, 60%, 43%)
HSVhsv(316, 75%, 69%)
CMYKcmyk(0%, 75%, 19.9%, 31%)
CIE-LABlab(42.70, 61.31, -23.59)
CIE-LCHlch(42.70, 65.70, 338.96°)
OKLaboklab(53.18% 0.1835 -0.0636)
OKLCHoklch(53.18% 0.194 340.9)
XYZxyz(23.6136, 12.9569, 26.4515)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02C8D #2CB04F
analogous
#912CB0 #B02C8D #B02C4B
triadic
#B02C8D #8DB02C #2C8DB0
tetradic
#B02C8D #B0912C #2CB04F #2C4BB0
square
#B02C8D #B0912C #2CB04F #2C4BB0
split-complementary
#B02C8D #4BB02C #2CB091
monochromatic
#4E143F #7F2066 #B02C8D #D148AD #DD79C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02C8D#FFFFFF#000000##FFFFFF
##B02C8D1.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)
#375790
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#BB2F59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02c8d;
/* rgb */ color: rgb(176, 44, 141);
/* oklch */ color: oklch(53.2% 0.194 340.9);
Tailwind
colors: {
  custom: {
    50: '#cc73ae',
    500: '#b02c8d',
    950: '#000000',
  },
}
SCSS
$custom: #b02c8d;
$custom-light: #cc73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b02c8d",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 315.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.19418,
    "h": 340.9
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#B02C8D
secondary
#72C688
accent
#E36F45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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