#B02381#B02381

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

Color values

HEX#B02381
RGBrgb(176, 35, 129)
HSLhsl(320, 67%, 41%)
HSVhsv(320, 80%, 69%)
CMYKcmyk(0%, 80.1%, 26.7%, 31%)
CIE-LABlab(41.25, 62.41, -18.48)
CIE-LCHlch(41.25, 65.08, 343.50°)
OKLaboklab(51.96% 0.1896 -0.0491)
OKLCHoklch(51.96% 0.196 345.5)
XYZxyz(22.4690, 12.0197, 21.9014)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02381 #23B052
analogous
#9923B0 #B02381 #B0233B
triadic
#B02381 #81B023 #2381B0
tetradic
#B02381 #B09923 #23B052 #233BB0
square
#B02381 #B09923 #23B052 #233BB0
split-complementary
#B02381 #3BB023 #23B099
monochromatic
#4A0F36 #7D195C #B02381 #D839A3 #E26CBA

Accessibility & contrast

On white

6.17
#B02381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B02381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02381
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02381#FFFFFF#000000##FFFFFF
##B023811.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02381;
/* rgb */ color: rgb(176, 35, 129);
/* oklch */ color: oklch(52.0% 0.196 345.5);
Tailwind
colors: {
  custom: {
    50: '#cc6fa5',
    500: '#b02381',
    950: '#000000',
  },
}
SCSS
$custom: #b02381;
$custom-light: #cc6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02381",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 320,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.19587,
    "h": 345.5
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#B02381
secondary
#67C887
accent
#EA773E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B02381

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

Preview Lab → · Contrast checker → · Palette generator →

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