#B02782#B02782

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

Color values

HEX#B02782
RGBrgb(176, 39, 130)
HSLhsl(320, 64%, 42%)
HSVhsv(320, 78%, 69%)
CMYKcmyk(0%, 77.8%, 26.1%, 31%)
CIE-LABlab(41.68, 61.41, -18.43)
CIE-LCHlch(41.68, 64.11, 343.29°)
OKLaboklab(52.28% 0.1863 -0.049)
OKLCHoklch(52.28% 0.193 345.3)
XYZxyz(22.6603, 12.2954, 22.2947)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02782 #27B055
analogous
#9A27B0 #B02782 #B0273E
triadic
#B02782 #82B027 #2782B0
tetradic
#B02782 #B09A27 #27B055 #273EB0
square
#B02782 #B09A27 #27B055 #273EB0
split-complementary
#B02782 #3EB027 #27B09A
monochromatic
#4C1138 #7E1C5D #B02782 #D540A3 #E072BB

Accessibility & contrast

On white

6.07
#B02782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B02782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02782
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02782#FFFFFF#000000##FFFFFF
##B027821.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#636B7F
Tritanopia (blue-blind)
#BC2452
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02782;
/* rgb */ color: rgb(176, 39, 130);
/* oklch */ color: oklch(52.3% 0.193 345.3);
Tailwind
colors: {
  custom: {
    50: '#cc70a6',
    500: '#b02782',
    950: '#000000',
  },
}
SCSS
$custom: #b02782;
$custom-light: #cc70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02782",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 320.146,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.19266,
    "h": 345.3
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#B02782
secondary
#6CC78B
accent
#E77941
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B02782

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

Preview Lab → · Contrast checker → · Palette generator →

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