#B02E87#B02E87

#B02E87 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.188 H 343.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B02E87
RGBrgb(176, 46, 135)
HSLhsl(319, 59%, 44%)
HSVhsv(319, 74%, 69%)
CMYKcmyk(0%, 73.9%, 23.3%, 31%)
CIE-LABlab(42.67, 59.86, -19.98)
CIE-LCHlch(42.67, 63.10, 341.54°)
OKLaboklab(53.07% 0.1805 -0.0534)
OKLCHoklch(53.07% 0.188 343.5)
XYZxyz(23.2555, 12.9358, 24.1891)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02E87 #2EB057
analogous
#982EB0 #B02E87 #B02E46
triadic
#B02E87 #87B02E #2E87B0
tetradic
#B02E87 #B0982E #2EB057 #2E46B0
square
#B02E87 #B0982E #2EB057 #2E46B0
split-complementary
#B02E87 #46B02E #2EB098
monochromatic
#4F153D #7F2162 #B02E87 #D04BA6 #DD7CBE

Accessibility & contrast

On white

5.86
#B02E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B02E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02E87
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02E87#FFFFFF#000000##FFFFFF
##B02E871.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#646D84
Tritanopia (blue-blind)
#BB2E57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02e87;
/* rgb */ color: rgb(176, 46, 135);
/* oklch */ color: oklch(53.1% 0.188 343.5);
Tailwind
colors: {
  custom: {
    50: '#cc73aa',
    500: '#b02e87',
    950: '#000000',
  },
}
SCSS
$custom: #b02e87;
$custom-light: #cc73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02e87",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 318.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.18821,
    "h": 343.5
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#B02E87
secondary
#75C58E
accent
#E27746
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02E87

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

Preview Lab → · Contrast checker → · Palette generator →

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