#B02977#B02977

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

Color values

HEX#B02977
RGBrgb(176, 41, 119)
HSLhsl(325, 62%, 43%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 76.7%, 32.4%, 31%)
CIE-LABlab(41.45, 59.48, -11.98)
CIE-LCHlch(41.45, 60.67, 348.61°)
OKLaboklab(51.98% 0.182 -0.0312)
OKLCHoklch(51.98% 0.185 350.3)
XYZxyz(22.0285, 12.1505, 18.6344)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02977 #29B062
analogous
#A529B0 #B02977 #B02934
triadic
#B02977 #77B029 #2977B0
tetradic
#B02977 #B0A529 #29B062 #2934B0
square
#B02977 #B0A529 #29B062 #2934B0
split-complementary
#B02977 #34B029 #29B0A5
monochromatic
#4D1234 #7E1D55 #B02977 #D34396 #DF75B2

Accessibility & contrast

On white

6.12
#B02977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02977
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02977#FFFFFF#000000##FFFFFF
##B029771.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405379
Deuteranopia (green-blind)
#676A74
Tritanopia (blue-blind)
#BD1F4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02977;
/* rgb */ color: rgb(176, 41, 119);
/* oklch */ color: oklch(52.0% 0.185 350.3);
Tailwind
colors: {
  custom: {
    50: '#cc719e',
    500: '#b02977',
    950: '#000000',
  },
}
SCSS
$custom: #b02977;
$custom-light: #cc719e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02977",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 325.333,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.18467,
    "h": 350.3
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#B02977
secondary
#6FC694
accent
#E58743
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02977

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

Preview Lab → · Contrast checker → · Palette generator →

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