#B02A98#B02A98

#B02A98 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.204 H 336.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B02A98
RGBrgb(176, 42, 152)
HSLhsl(311, 61%, 43%)
HSVhsv(311, 76%, 69%)
CMYKcmyk(0%, 76.1%, 13.6%, 31%)
CIE-LABlab(43.00, 63.48, -29.79)
CIE-LCHlch(43.00, 70.12, 334.86°)
OKLaboklab(53.56% 0.1867 -0.0812)
OKLCHoklch(53.56% 0.204 336.5)
XYZxyz(24.4004, 13.1553, 30.9538)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A98 #2AB042
analogous
#852AB0 #B02A98 #B02A55
triadic
#B02A98 #98B02A #2A98B0
tetradic
#B02A98 #B0852A #2AB042 #2A55B0
square
#B02A98 #B0852A #2AB042 #2A55B0
split-complementary
#B02A98 #55B02A #2AB085
monochromatic
#4D1243 #7F1E6D #B02A98 #D345B9 #DE76CC

Accessibility & contrast

On white

5.78
#B02A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B02A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A98
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A98#FFFFFF#000000##FFFFFF
##B02A981.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599B
Deuteranopia (green-blind)
#5C6D95
Tritanopia (blue-blind)
#B9345F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02a98;
/* rgb */ color: rgb(176, 42, 152);
/* oklch */ color: oklch(53.6% 0.204 336.5);
Tailwind
colors: {
  custom: {
    50: '#cb72b6',
    500: '#b02a98',
    950: '#000000',
  },
}
SCSS
$custom: #b02a98;
$custom-light: #cb72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a98",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 310.746,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.20356,
    "h": 336.5
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#B02A98
secondary
#70C67F
accent
#E56043
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02A98

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

Preview Lab → · Contrast checker → · Palette generator →

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