#B02A87#B02A87

#B02A87 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.193 H 343.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B02A87
RGBrgb(176, 42, 135)
HSLhsl(318, 61%, 43%)
HSVhsv(318, 76%, 69%)
CMYKcmyk(0%, 76.1%, 23.3%, 31%)
CIE-LABlab(42.21, 61.14, -20.68)
CIE-LCHlch(42.21, 64.55, 341.31°)
OKLaboklab(52.74% 0.1844 -0.0553)
OKLCHoklch(52.74% 0.193 343.3)
XYZxyz(23.1065, 12.6378, 24.1394)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A87 #2AB053
analogous
#962AB0 #B02A87 #B02A44
triadic
#B02A87 #87B02A #2A87B0
tetradic
#B02A87 #B0962A #2AB053 #2A44B0
square
#B02A87 #B0962A #2AB053 #2A44B0
split-complementary
#B02A87 #44B02A #2AB096
monochromatic
#4D123B #7F1E61 #B02A87 #D345A7 #DE76BE

Accessibility & contrast

On white

5.95
#B02A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B02A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A87
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A87#FFFFFF#000000##FFFFFF
##B02A871.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395689
Deuteranopia (green-blind)
#636C84
Tritanopia (blue-blind)
#BC2A55
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02a87;
/* rgb */ color: rgb(176, 42, 135);
/* oklch */ color: oklch(52.7% 0.193 343.3);
Tailwind
colors: {
  custom: {
    50: '#cc72aa',
    500: '#b02a87',
    950: '#000000',
  },
}
SCSS
$custom: #b02a87;
$custom-light: #cc72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a87",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 318.358,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.19255,
    "h": 343.3
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

primary
#B02A87
secondary
#70C68A
accent
#E57543
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02A87

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

Preview Lab → · Contrast checker → · Palette generator →

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