#B02982#B02982

#B02982 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.191 H 345.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B02982
RGBrgb(176, 41, 130)
HSLhsl(320, 62%, 43%)
HSVhsv(320, 77%, 69%)
CMYKcmyk(0%, 76.7%, 26.1%, 31%)
CIE-LABlab(41.89, 60.81, -18.11)
CIE-LCHlch(41.89, 63.45, 343.42°)
OKLaboklab(52.44% 0.1845 -0.0481)
OKLCHoklch(52.44% 0.191 345.4)
XYZxyz(22.7277, 12.4302, 22.3171)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02982 #29B057
analogous
#9A29B0 #B02982 #B0293F
triadic
#B02982 #82B029 #2982B0
tetradic
#B02982 #B09A29 #29B057 #293FB0
square
#B02982 #B09A29 #29B057 #293FB0
split-complementary
#B02982 #3FB029 #29B09A
monochromatic
#4D1239 #7E1D5D #B02982 #D343A2 #DF75BB

Accessibility & contrast

On white

6.02
#B02982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B02982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02982
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02982#FFFFFF#000000##FFFFFF
##B029821.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#BC2652
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02982;
/* rgb */ color: rgb(176, 41, 130);
/* oklch */ color: oklch(52.4% 0.191 345.4);
Tailwind
colors: {
  custom: {
    50: '#cc71a6',
    500: '#b02982',
    950: '#000000',
  },
}
SCSS
$custom: #b02982;
$custom-light: #cc71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02982",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 320.444,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.19064,
    "h": 345.4
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#B02982
secondary
#6FC68C
accent
#E57A43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02982

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

Preview Lab → · Contrast checker → · Palette generator →

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