#B02E8B#B02E8B

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

Color values

HEX#B02E8B
RGBrgb(176, 46, 139)
HSLhsl(317, 59%, 44%)
HSVhsv(317, 74%, 69%)
CMYKcmyk(0%, 73.9%, 21%, 31%)
CIE-LABlab(42.84, 60.39, -22.15)
CIE-LCHlch(42.84, 64.33, 339.85°)
OKLaboklab(53.25% 0.1812 -0.0595)
OKLCHoklch(53.25% 0.191 341.8)
XYZxyz(23.5425, 13.0506, 25.7003)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02E8B #2EB053
analogous
#942EB0 #B02E8B #B02E4A
triadic
#B02E8B #8BB02E #2E8BB0
tetradic
#B02E8B #B0942E #2EB053 #2E4AB0
square
#B02E8B #B0942E #2EB053 #2E4AB0
split-complementary
#B02E8B #4AB02E #2EB094
monochromatic
#4F153E #7F2165 #B02E8B #D04BAA #DD7CC1

Accessibility & contrast

On white

5.82
#B02E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B02E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02E8B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02E8B#FFFFFF#000000##FFFFFF
##B02E8B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#BB3059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02e8b;
/* rgb */ color: rgb(176, 46, 139);
/* oklch */ color: oklch(53.2% 0.191 341.8);
Tailwind
colors: {
  custom: {
    50: '#cc73ad',
    500: '#b02e8b',
    950: '#000000',
  },
}
SCSS
$custom: #b02e8b;
$custom-light: #cc73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b02e8b",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 317.077,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.1907,
    "h": 341.8
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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