#B02697#B02697

#B02697 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.2% C 0.207 H 336.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B02697
RGBrgb(176, 38, 151)
HSLhsl(311, 64%, 42%)
HSVhsv(311, 78%, 69%)
CMYKcmyk(0%, 78.4%, 14.2%, 31%)
CIE-LABlab(42.54, 64.50, -29.90)
CIE-LCHlch(42.54, 71.10, 335.13°)
OKLaboklab(53.22% 0.1901 -0.0815)
OKLCHoklch(53.22% 0.207 336.8)
XYZxyz(24.1840, 12.8530, 30.4794)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02697 #26B03F
analogous
#8426B0 #B02697 #B02652
triadic
#B02697 #97B026 #2697B0
tetradic
#B02697 #B08426 #26B03F #2652B0
square
#B02697 #B08426 #26B03F #2652B0
split-complementary
#B02697 #52B026 #26B084
monochromatic
#4B1041 #7E1B6C #B02697 #D53EBA #E070CC

Accessibility & contrast

On white

5.88
#B02697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B02697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02697
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02697#FFFFFF#000000##FFFFFF
##B026971.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#BA305D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02697;
/* rgb */ color: rgb(176, 38, 151);
/* oklch */ color: oklch(53.2% 0.207 336.8);
Tailwind
colors: {
  custom: {
    50: '#cc71b6',
    500: '#b02697',
    950: '#000000',
  },
}
SCSS
$custom: #b02697;
$custom-light: #cc71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02697",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 310.87,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.20679,
    "h": 336.8
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#B02697
secondary
#6BC77C
accent
#E75F40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02697

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

Preview Lab → · Contrast checker → · Palette generator →

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