#B02698#B02698

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

Color values

HEX#B02698
RGBrgb(176, 38, 152)
HSLhsl(310, 64%, 42%)
HSVhsv(310, 78%, 69%)
CMYKcmyk(0%, 78.4%, 13.6%, 31%)
CIE-LABlab(42.59, 64.65, -30.43)
CIE-LCHlch(42.59, 71.45, 334.80°)
OKLaboklab(53.27% 0.1902 -0.083)
OKLCHoklch(53.27% 0.207 336.4)
XYZxyz(24.2655, 12.8856, 30.9089)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02698 #26B03E
analogous
#8326B0 #B02698 #B02653
triadic
#B02698 #98B026 #2698B0
tetradic
#B02698 #B08326 #26B03E #2653B0
square
#B02698 #B08326 #26B03E #2653B0
split-complementary
#B02698 #53B026 #26B083
monochromatic
#4B1041 #7E1B6D #B02698 #D53EBB #E070CD

Accessibility & contrast

On white

5.87
#B02698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B02698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02698
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02698#FFFFFF#000000##FFFFFF
##B026981.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#B9315E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02698;
/* rgb */ color: rgb(176, 38, 152);
/* oklch */ color: oklch(53.3% 0.207 336.4);
Tailwind
colors: {
  custom: {
    50: '#cc71b6',
    500: '#b02698',
    950: '#000000',
  },
}
SCSS
$custom: #b02698;
$custom-light: #cc71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02698",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 310.435,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53268,
    "c": 0.20747,
    "h": 336.4
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#B02698
secondary
#6BC77B
accent
#E75D40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02698

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

Preview Lab → · Contrast checker → · Palette generator →

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