#B02C98#B02C98

#B02C98 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.7% C 0.201 H 336.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B02C98
RGBrgb(176, 44, 152)
HSLhsl(311, 60%, 43%)
HSVhsv(311, 75%, 69%)
CMYKcmyk(0%, 75%, 13.6%, 31%)
CIE-LABlab(43.21, 62.86, -29.45)
CIE-LCHlch(43.21, 69.42, 334.90°)
OKLaboklab(53.72% 0.1848 -0.0802)
OKLCHoklch(53.72% 0.201 336.5)
XYZxyz(24.4731, 13.3007, 30.9781)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02C98 #2CB044
analogous
#862CB0 #B02C98 #B02C56
triadic
#B02C98 #98B02C #2C98B0
tetradic
#B02C98 #B0862C #2CB044 #2C56B0
square
#B02C98 #B0862C #2CB044 #2C56B0
split-complementary
#B02C98 #56B02C #2CB086
monochromatic
#4E1443 #7F206E #B02C98 #D148B8 #DD79CB

Accessibility & contrast

On white

5.74
#B02C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B02C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02C98
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02C98#FFFFFF#000000##FFFFFF
##B02C981.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#B9355F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02c98;
/* rgb */ color: rgb(176, 44, 152);
/* oklch */ color: oklch(53.7% 0.201 336.5);
Tailwind
colors: {
  custom: {
    50: '#cb73b6',
    500: '#b02c98',
    950: '#000000',
  },
}
SCSS
$custom: #b02c98;
$custom-light: #cb73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02c98",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 310.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.20149,
    "h": 336.5
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#B02C98
secondary
#72C681
accent
#E36145
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02C98

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

Preview Lab → · Contrast checker → · Palette generator →

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