#B02C7F#B02C7F

#B02C7F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.186 H 346.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B02C7F
RGBrgb(176, 44, 127)
HSLhsl(322, 60%, 43%)
HSVhsv(322, 75%, 69%)
CMYKcmyk(0%, 75%, 27.8%, 31%)
CIE-LABlab(42.10, 59.49, -15.94)
CIE-LCHlch(42.10, 61.59, 345.00°)
OKLaboklab(52.55% 0.1809 -0.0421)
OKLCHoklch(52.55% 0.186 346.9)
XYZxyz(22.6370, 12.5663, 21.3080)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02C7F #2CB05D
analogous
#9F2CB0 #B02C7F #B02C3D
triadic
#B02C7F #7FB02C #2C7FB0
tetradic
#B02C7F #B09F2C #2CB05D #2C3DB0
square
#B02C7F #B09F2C #2CB05D #2C3DB0
split-complementary
#B02C7F #3DB02C #2CB09F
monochromatic
#4E1438 #7F205C #B02C7F #D1489E #DD79B8

Accessibility & contrast

On white

5.98
#B02C7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B02C7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02C7F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02C7F#FFFFFF#000000##FFFFFF
##B02C7F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#666C7C
Tritanopia (blue-blind)
#BC2752
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02c7f;
/* rgb */ color: rgb(176, 44, 127);
/* oklch */ color: oklch(52.5% 0.186 346.9);
Tailwind
colors: {
  custom: {
    50: '#cc72a4',
    500: '#b02c7f',
    950: '#000000',
  },
}
SCSS
$custom: #b02c7f;
$custom-light: #cc72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02c7f",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 322.273,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.18574,
    "h": 346.9
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#B02C7F
secondary
#72C691
accent
#E37F45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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