#B02F87#B02F87

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

Color values

HEX#B02F87
RGBrgb(176, 47, 135)
HSLhsl(319, 58%, 44%)
HSVhsv(319, 73%, 69%)
CMYKcmyk(0%, 73.3%, 23.3%, 31%)
CIE-LABlab(42.79, 59.52, -19.80)
CIE-LCHlch(42.79, 62.72, 341.60°)
OKLaboklab(53.15% 0.1794 -0.0529)
OKLCHoklch(53.15% 0.187 343.6)
XYZxyz(23.2951, 13.0148, 24.2023)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F87 #2FB058
analogous
#982FB0 #B02F87 #B02F46
triadic
#B02F87 #87B02F #2F87B0
tetradic
#B02F87 #B0982F #2FB058 #2F46B0
square
#B02F87 #B0982F #2FB058 #2F46B0
split-complementary
#B02F87 #46B02F #2FB098
monochromatic
#4F153D #802262 #B02F87 #CF4DA6 #DC7DBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02F87#FFFFFF#000000##FFFFFF
##B02F871.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)
#3D5789
Deuteranopia (green-blind)
#646D84
Tritanopia (blue-blind)
#BB2F57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02f87;
/* rgb */ color: rgb(176, 47, 135);
/* oklch */ color: oklch(53.2% 0.187 343.6);
Tailwind
colors: {
  custom: {
    50: '#cc74aa',
    500: '#b02f87',
    950: '#000000',
  },
}
SCSS
$custom: #b02f87;
$custom-light: #cc74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f87",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 319.07,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.18708,
    "h": 343.6
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#B02F87
secondary
#76C58F
accent
#E17847
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02F87

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

Preview Lab → · Contrast checker → · Palette generator →

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