#B02397#B02397

#B02397 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.209 H 336.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B02397
RGBrgb(176, 35, 151)
HSLhsl(311, 67%, 41%)
HSVhsv(311, 80%, 69%)
CMYKcmyk(0%, 80.1%, 14.2%, 31%)
CIE-LABlab(42.26, 65.31, -30.34)
CIE-LCHlch(42.26, 72.01, 335.08°)
OKLaboklab(53.01% 0.1925 -0.0827)
OKLCHoklch(53.01% 0.21 336.7)
XYZxyz(24.0919, 12.6688, 30.4487)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02397 #23B03C
analogous
#8323B0 #B02397 #B02351
triadic
#B02397 #97B023 #2397B0
tetradic
#B02397 #B08323 #23B03C #2351B0
square
#B02397 #B08323 #23B03C #2351B0
split-complementary
#B02397 #51B023 #23B083
monochromatic
#4A0F3F #7D196B #B02397 #D839BB #E26CCD

Accessibility & contrast

On white

5.94
#B02397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B02397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02397
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02397#FFFFFF#000000##FFFFFF
##B023971.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#BA2E5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02397;
/* rgb */ color: rgb(176, 35, 151);
/* oklch */ color: oklch(53.0% 0.209 336.7);
Tailwind
colors: {
  custom: {
    50: '#cc70b6',
    500: '#b02397',
    950: '#000000',
  },
}
SCSS
$custom: #b02397;
$custom-light: #cc70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02397",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 310.638,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.2095,
    "h": 336.7
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#B02397
secondary
#67C878
accent
#EA5D3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B02397

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

Preview Lab → · Contrast checker → · Palette generator →

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