#B02C81#B02C81

#B02C81 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.187 H 346.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B02C81
RGBrgb(176, 44, 129)
HSLhsl(321, 60%, 43%)
HSVhsv(321, 75%, 69%)
CMYKcmyk(0%, 75%, 26.7%, 31%)
CIE-LABlab(42.18, 59.74, -17.05)
CIE-LCHlch(42.18, 62.12, 344.07°)
OKLaboklab(52.63% 0.1813 -0.0452)
OKLCHoklch(52.63% 0.187 346)
XYZxyz(22.7686, 12.6189, 22.0013)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02C81 #2CB05B
analogous
#9D2CB0 #B02C81 #B02C3F
triadic
#B02C81 #81B02C #2C81B0
tetradic
#B02C81 #B09D2C #2CB05B #2C3FB0
square
#B02C81 #B09D2C #2CB05B #2C3FB0
split-complementary
#B02C81 #3FB02C #2CB09D
monochromatic
#4E1439 #7F205D #B02C81 #D148A0 #DD79BA

Accessibility & contrast

On white

5.96
#B02C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B02C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02C81
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02C81#FFFFFF#000000##FFFFFF
##B02C811.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#656C7E
Tritanopia (blue-blind)
#BC2953
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02c81;
/* rgb */ color: rgb(176, 44, 129);
/* oklch */ color: oklch(52.6% 0.187 346.0);
Tailwind
colors: {
  custom: {
    50: '#cc72a5',
    500: '#b02c81',
    950: '#000000',
  },
}
SCSS
$custom: #b02c81;
$custom-light: #cc72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02c81",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 321.364,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.18688,
    "h": 346
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#B02C81
secondary
#72C690
accent
#E37D45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02C81

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

Preview Lab → · Contrast checker → · Palette generator →

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