#B02C8F#B02C8F

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

Color values

HEX#B02C8F
RGBrgb(176, 44, 143)
HSLhsl(315, 60%, 43%)
HSVhsv(315, 75%, 69%)
CMYKcmyk(0%, 75%, 18.7%, 31%)
CIE-LABlab(42.79, 61.59, -24.67)
CIE-LCHlch(42.79, 66.34, 338.17°)
OKLaboklab(53.27% 0.1838 -0.0666)
OKLCHoklch(53.27% 0.195 340.1)
XYZxyz(23.7638, 13.0170, 27.2423)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02C8F #2CB04D
analogous
#8F2CB0 #B02C8F #B02C4D
triadic
#B02C8F #8FB02C #2C8FB0
tetradic
#B02C8F #B08F2C #2CB04D #2C4DB0
square
#B02C8F #B08F2C #2CB04D #2C4DB0
split-complementary
#B02C8F #4DB02C #2CB08F
monochromatic
#4E143F #7F2067 #B02C8F #D148AF #DD79C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02C8F#FFFFFF#000000##FFFFFF
##B02C8F1.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)
#365892
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#BB305A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02c8f;
/* rgb */ color: rgb(176, 44, 143);
/* oklch */ color: oklch(53.3% 0.195 340.1);
Tailwind
colors: {
  custom: {
    50: '#cc73b0',
    500: '#b02c8f',
    950: '#000000',
  },
}
SCSS
$custom: #b02c8f;
$custom-light: #cc73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02c8f",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 315,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.19547,
    "h": 340.1
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#B02C8F
secondary
#72C687
accent
#E36C45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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