#B02978#B02978

#B02978 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 349.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B02978
RGBrgb(176, 41, 120)
HSLhsl(325, 62%, 43%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 76.7%, 31.8%, 31%)
CIE-LABlab(41.49, 59.60, -12.54)
CIE-LCHlch(41.49, 60.90, 348.11°)
OKLaboklab(52.02% 0.1823 -0.0328)
OKLCHoklch(52.02% 0.185 349.8)
XYZxyz(22.0888, 12.1746, 18.9524)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02978 #29B061
analogous
#A529B0 #B02978 #B02934
triadic
#B02978 #78B029 #2978B0
tetradic
#B02978 #B0A529 #29B061 #2934B0
square
#B02978 #B0A529 #29B061 #2934B0
split-complementary
#B02978 #34B029 #29B0A5
monochromatic
#4D1234 #7E1D56 #B02978 #D34397 #DF75B3

Accessibility & contrast

On white

6.11
#B02978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B02978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02978
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02978#FFFFFF#000000##FFFFFF
##B029781.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#676A75
Tritanopia (blue-blind)
#BD204D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02978;
/* rgb */ color: rgb(176, 41, 120);
/* oklch */ color: oklch(52.0% 0.185 349.8);
Tailwind
colors: {
  custom: {
    50: '#cc719f',
    500: '#b02978',
    950: '#000000',
  },
}
SCSS
$custom: #b02978;
$custom-light: #cc719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02978",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 324.889,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.18518,
    "h": 349.8
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#B02978
secondary
#6FC693
accent
#E58643
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02978

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

Preview Lab → · Contrast checker → · Palette generator →

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