#B02481#B02481

#B02481 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.195 H 345.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B02481
RGBrgb(176, 36, 129)
HSLhsl(320, 66%, 42%)
HSVhsv(320, 80%, 69%)
CMYKcmyk(0%, 79.5%, 26.7%, 31%)
CIE-LABlab(41.34, 62.13, -18.34)
CIE-LCHlch(41.34, 64.78, 343.56°)
OKLaboklab(52.02% 0.1888 -0.0487)
OKLCHoklch(52.02% 0.195 345.5)
XYZxyz(22.4989, 12.0794, 21.9113)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02481 #24B053
analogous
#9924B0 #B02481 #B0243B
triadic
#B02481 #81B024 #2481B0
tetradic
#B02481 #B09924 #24B053 #243BB0
square
#B02481 #B09924 #24B053 #243BB0
split-complementary
#B02481 #3BB024 #24B099
monochromatic
#4A0F37 #7D1A5C #B02481 #D73AA2 #E16DBA

Accessibility & contrast

On white

6.15
#B02481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B02481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02481
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02481#FFFFFF#000000##FFFFFF
##B024811.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#BC2050
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02481;
/* rgb */ color: rgb(176, 36, 129);
/* oklch */ color: oklch(52.0% 0.195 345.5);
Tailwind
colors: {
  custom: {
    50: '#cc6fa5',
    500: '#b02481',
    950: '#000000',
  },
}
SCSS
$custom: #b02481;
$custom-light: #cc6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02481",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 320.143,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.19496,
    "h": 345.5
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#B02481
secondary
#68C888
accent
#E9783F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B02481

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

Preview Lab → · Contrast checker → · Palette generator →

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