#B02488#B02488

#B02488 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.199 H 342.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B02488
RGBrgb(176, 36, 136)
HSLhsl(317, 66%, 42%)
HSVhsv(317, 80%, 69%)
CMYKcmyk(0%, 79.5%, 22.7%, 31%)
CIE-LABlab(41.65, 63.02, -22.17)
CIE-LCHlch(41.65, 66.80, 340.62°)
OKLaboklab(52.34% 0.19 -0.0595)
OKLCHoklch(52.34% 0.199 342.6)
XYZxyz(22.9802, 12.2719, 24.4463)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02488 #24B04C
analogous
#9224B0 #B02488 #B02442
triadic
#B02488 #88B024 #2488B0
tetradic
#B02488 #B09224 #24B04C #2442B0
square
#B02488 #B09224 #24B04C #2442B0
split-complementary
#B02488 #42B024 #24B092
monochromatic
#4A0F39 #7D1A61 #B02488 #D73AAA #E16DC0

Accessibility & contrast

On white

6.08
#B02488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B02488 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02488
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02488#FFFFFF#000000##FFFFFF
##B024881.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#616A85
Tritanopia (blue-blind)
#BB2554
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02488;
/* rgb */ color: rgb(176, 36, 136);
/* oklch */ color: oklch(52.3% 0.199 342.6);
Tailwind
colors: {
  custom: {
    50: '#cc6fab',
    500: '#b02488',
    950: '#000000',
  },
}
SCSS
$custom: #b02488;
$custom-light: #cc6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02488",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 317.143,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52342,
    "c": 0.19907,
    "h": 342.6
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#B02488
secondary
#68C883
accent
#E96F3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B02488

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

Preview Lab → · Contrast checker → · Palette generator →

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