#B02997#B02997

#B02997 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.4% C 0.204 H 336.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B02997
RGBrgb(176, 41, 151)
HSLhsl(311, 62%, 43%)
HSVhsv(311, 77%, 69%)
CMYKcmyk(0%, 76.7%, 14.2%, 31%)
CIE-LABlab(42.84, 63.64, -29.43)
CIE-LCHlch(42.84, 70.11, 335.18°)
OKLaboklab(53.43% 0.1875 -0.0801)
OKLCHoklch(53.43% 0.204 336.9)
XYZxyz(24.2838, 13.0526, 30.5126)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02997 #29B042
analogous
#8529B0 #B02997 #B02954
triadic
#B02997 #97B029 #2997B0
tetradic
#B02997 #B08529 #29B042 #2954B0
square
#B02997 #B08529 #29B042 #2954B0
split-complementary
#B02997 #54B029 #29B085
monochromatic
#4D1242 #7E1D6C #B02997 #D343B8 #DF75CB

Accessibility & contrast

On white

5.82
#B02997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B02997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02997
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02997#FFFFFF#000000##FFFFFF
##B029971.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#B9325E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02997;
/* rgb */ color: rgb(176, 41, 151);
/* oklch */ color: oklch(53.4% 0.204 336.9);
Tailwind
colors: {
  custom: {
    50: '#cc72b6',
    500: '#b02997',
    950: '#000000',
  },
}
SCSS
$custom: #b02997;
$custom-light: #cc72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02997",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 311.111,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.20389,
    "h": 336.9
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#B02997
secondary
#6FC67F
accent
#E56143
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02997

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

Preview Lab → · Contrast checker → · Palette generator →

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