#B02E8A#B02E8A

#B02E8A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.190 H 342.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B02E8A
RGBrgb(176, 46, 138)
HSLhsl(318, 59%, 44%)
HSVhsv(318, 74%, 69%)
CMYKcmyk(0%, 73.9%, 21.6%, 31%)
CIE-LABlab(42.80, 60.26, -21.61)
CIE-LCHlch(42.80, 64.01, 340.27°)
OKLaboklab(53.2% 0.181 -0.058)
OKLCHoklch(53.2% 0.19 342.2)
XYZxyz(23.4697, 13.0215, 25.3172)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02E8A #2EB054
analogous
#952EB0 #B02E8A #B02E49
triadic
#B02E8A #8AB02E #2E8AB0
tetradic
#B02E8A #B0952E #2EB054 #2E49B0
square
#B02E8A #B0952E #2EB054 #2E49B0
split-complementary
#B02E8A #49B02E #2EB095
monochromatic
#4F153E #7F2164 #B02E8A #D04BA9 #DD7CC0

Accessibility & contrast

On white

5.83
#B02E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B02E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02E8A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02E8A#FFFFFF#000000##FFFFFF
##B02E8A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578D
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#BB2F58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02e8a;
/* rgb */ color: rgb(176, 46, 138);
/* oklch */ color: oklch(53.2% 0.190 342.2);
Tailwind
colors: {
  custom: {
    50: '#cc73ac',
    500: '#b02e8a',
    950: '#000000',
  },
}
SCSS
$custom: #b02e8a;
$custom-light: #cc73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b02e8a",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 317.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.19007,
    "h": 342.2
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#B02E8A
secondary
#75C58C
accent
#E27446
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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