#B02F82#B02F82

#B02F82 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.184 H 345.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B02F82
RGBrgb(176, 47, 130)
HSLhsl(321, 58%, 44%)
HSVhsv(321, 73%, 69%)
CMYKcmyk(0%, 73.3%, 26.1%, 31%)
CIE-LABlab(42.58, 58.87, -17.06)
CIE-LCHlch(42.58, 61.29, 343.84°)
OKLaboklab(52.94% 0.1784 -0.0452)
OKLCHoklch(52.94% 0.184 345.8)
XYZxyz(22.9513, 12.8773, 22.3916)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F82 #2FB05D
analogous
#9D2FB0 #B02F82 #B02F41
triadic
#B02F82 #82B02F #2F82B0
tetradic
#B02F82 #B09D2F #2FB05D #2F41B0
square
#B02F82 #B09D2F #2FB05D #2F41B0
split-complementary
#B02F82 #41B02F #2FB09D
monochromatic
#4F153B #80225E #B02F82 #CF4DA1 #DC7DBA

Accessibility & contrast

On white

5.87
#B02F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B02F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F82
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F82#FFFFFF#000000##FFFFFF
##B02F821.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5784
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#BC2C54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02f82;
/* rgb */ color: rgb(176, 47, 130);
/* oklch */ color: oklch(52.9% 0.184 345.8);
Tailwind
colors: {
  custom: {
    50: '#cc73a6',
    500: '#b02f82',
    950: '#000000',
  },
}
SCSS
$custom: #b02f82;
$custom-light: #cc73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f82",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 321.395,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.18409,
    "h": 345.8
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#B02F82
secondary
#76C592
accent
#E17E47
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02F82

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

Preview Lab → · Contrast checker → · Palette generator →

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