#B02396#B02396

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

Color values

HEX#B02396
RGBrgb(176, 35, 150)
HSLhsl(311, 67%, 41%)
HSVhsv(311, 80%, 69%)
CMYKcmyk(0%, 80.1%, 14.8%, 31%)
CIE-LABlab(42.21, 65.17, -29.81)
CIE-LCHlch(42.21, 71.67, 335.42°)
OKLaboklab(52.96% 0.1924 -0.0812)
OKLCHoklch(52.96% 0.209 337.1)
XYZxyz(24.0111, 12.6365, 30.0228)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02396 #23B03D
analogous
#8423B0 #B02396 #B02350
triadic
#B02396 #96B023 #2396B0
tetradic
#B02396 #B08423 #23B03D #2350B0
square
#B02396 #B08423 #23B03D #2350B0
split-complementary
#B02396 #50B023 #23B084
monochromatic
#4A0F3F #7D196A #B02396 #D839BA #E26CCC

Accessibility & contrast

On white

5.95
#B02396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02396
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02396#FFFFFF#000000##FFFFFF
##B023961.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#BA2D5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02396;
/* rgb */ color: rgb(176, 35, 150);
/* oklch */ color: oklch(53.0% 0.209 337.1);
Tailwind
colors: {
  custom: {
    50: '#cc70b5',
    500: '#b02396',
    950: '#000000',
  },
}
SCSS
$custom: #b02396;
$custom-light: #cc70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02396",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 311.064,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.20884,
    "h": 337.1
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#B02396
secondary
#67C879
accent
#EA5E3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B02396

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

Preview Lab → · Contrast checker → · Palette generator →

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