#B02C8E#B02C8E

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

Color values

HEX#B02C8E
RGBrgb(176, 44, 142)
HSLhsl(315, 60%, 43%)
HSVhsv(315, 75%, 69%)
CMYKcmyk(0%, 75%, 19.3%, 31%)
CIE-LABlab(42.74, 61.45, -24.13)
CIE-LCHlch(42.74, 66.02, 338.56°)
OKLaboklab(53.22% 0.1836 -0.0651)
OKLCHoklch(53.22% 0.195 340.5)
XYZxyz(23.6884, 12.9868, 26.8451)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02C8E #2CB04E
analogous
#902CB0 #B02C8E #B02C4C
triadic
#B02C8E #8EB02C #2C8EB0
tetradic
#B02C8E #B0902C #2CB04E #2C4CB0
square
#B02C8E #B0902C #2CB04E #2C4CB0
split-complementary
#B02C8E #4CB02C #2CB090
monochromatic
#4E143F #7F2066 #B02C8E #D148AE #DD79C4

Accessibility & contrast

On white

5.84
#B02C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02C8E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02C8E#FFFFFF#000000##FFFFFF
##B02C8E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365791
Deuteranopia (green-blind)
#616C8B
Tritanopia (blue-blind)
#BB305A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02c8e;
/* rgb */ color: rgb(176, 44, 142);
/* oklch */ color: oklch(53.2% 0.195 340.5);
Tailwind
colors: {
  custom: {
    50: '#cc73af',
    500: '#b02c8e',
    950: '#000000',
  },
}
SCSS
$custom: #b02c8e;
$custom-light: #cc73af;
$custom-dark: #000000;
JSON
{
  "hex": "#b02c8e",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 315.455,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.19482,
    "h": 340.5
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#B02C8E
secondary
#72C688
accent
#E36D45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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