#B02398#B02398

#B02398 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.1% C 0.210 H 336.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B02398
RGBrgb(176, 35, 152)
HSLhsl(310, 67%, 41%)
HSVhsv(310, 80%, 69%)
CMYKcmyk(0%, 80.1%, 13.6%, 31%)
CIE-LABlab(42.31, 65.45, -30.87)
CIE-LCHlch(42.31, 72.37, 334.75°)
OKLaboklab(53.07% 0.1926 -0.0842)
OKLCHoklch(53.07% 0.21 336.4)
XYZxyz(24.1735, 12.7015, 30.8782)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02398 #23B03B
analogous
#8223B0 #B02398 #B02352
triadic
#B02398 #98B023 #2398B0
tetradic
#B02398 #B08223 #23B03B #2352B0
square
#B02398 #B08223 #23B03B #2352B0
split-complementary
#B02398 #52B023 #23B082
monochromatic
#4A0F40 #7D196C #B02398 #D839BD #E26CCE

Accessibility & contrast

On white

5.93
#B02398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B02398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02398
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02398#FFFFFF#000000##FFFFFF
##B023981.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#B92F5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02398;
/* rgb */ color: rgb(176, 35, 152);
/* oklch */ color: oklch(53.1% 0.210 336.4);
Tailwind
colors: {
  custom: {
    50: '#cc70b6',
    500: '#b02398',
    950: '#000000',
  },
}
SCSS
$custom: #b02398;
$custom-light: #cc70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02398",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 310.213,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.21017,
    "h": 336.4
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#B02398
secondary
#67C877
accent
#EA5B3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B02398

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

Preview Lab → · Contrast checker → · Palette generator →

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