#B02597#B02597

#B02597 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.208 H 336.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B02597
RGBrgb(176, 37, 151)
HSLhsl(311, 65%, 42%)
HSVhsv(311, 79%, 69%)
CMYKcmyk(0%, 79%, 14.2%, 31%)
CIE-LABlab(42.45, 64.78, -30.05)
CIE-LCHlch(42.45, 71.41, 335.11°)
OKLaboklab(53.15% 0.1909 -0.0819)
OKLCHoklch(53.15% 0.208 336.8)
XYZxyz(24.1524, 12.7899, 30.4689)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02597 #25B03E
analogous
#8325B0 #B02597 #B02552
triadic
#B02597 #97B025 #2597B0
tetradic
#B02597 #B08325 #25B03E #2552B0
square
#B02597 #B08325 #25B03E #2552B0
split-complementary
#B02597 #52B025 #25B083
monochromatic
#4B1040 #7D1A6C #B02597 #D63CBA #E16FCC

Accessibility & contrast

On white

5.90
#B02597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B02597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02597
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02597#FFFFFF#000000##FFFFFF
##B025971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#BA2F5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02597;
/* rgb */ color: rgb(176, 37, 151);
/* oklch */ color: oklch(53.1% 0.208 336.8);
Tailwind
colors: {
  custom: {
    50: '#cc70b6',
    500: '#b02597',
    950: '#000000',
  },
}
SCSS
$custom: #b02597;
$custom-light: #cc70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02597",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 310.791,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53147,
    "c": 0.20771,
    "h": 336.8
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#B02597
secondary
#6AC77A
accent
#E85E40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02597

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

Preview Lab → · Contrast checker → · Palette generator →

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