#B02579#B02579

#B02579 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.190 H 349.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B02579
RGBrgb(176, 37, 121)
HSLhsl(324, 65%, 42%)
HSVhsv(324, 79%, 69%)
CMYKcmyk(0%, 79%, 31.3%, 31%)
CIE-LABlab(41.11, 60.90, -13.74)
CIE-LCHlch(41.11, 62.43, 347.29°)
OKLaboklab(51.75% 0.1862 -0.036)
OKLCHoklch(51.75% 0.19 349.1)
XYZxyz(22.0185, 11.9363, 19.2299)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02579 #25B05C
analogous
#A225B0 #B02579 #B02534
triadic
#B02579 #79B025 #2579B0
tetradic
#B02579 #B0A225 #25B05C #2534B0
square
#B02579 #B0A225 #25B05C #2534B0
split-complementary
#B02579 #34B025 #25B0A2
monochromatic
#4B1033 #7D1A56 #B02579 #D63C99 #E16FB4

Accessibility & contrast

On white

6.20
#B02579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B02579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02579
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02579#FFFFFF#000000##FFFFFF
##B025791.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517B
Deuteranopia (green-blind)
#666A76
Tritanopia (blue-blind)
#BD1C4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02579;
/* rgb */ color: rgb(176, 37, 121);
/* oklch */ color: oklch(51.8% 0.190 349.1);
Tailwind
colors: {
  custom: {
    50: '#cc6f9f',
    500: '#b02579',
    950: '#000000',
  },
}
SCSS
$custom: #b02579;
$custom-light: #cc6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02579",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 323.741,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.18967,
    "h": 349.1
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#B02579
secondary
#6AC78F
accent
#E88240
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02579

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

Preview Lab → · Contrast checker → · Palette generator →

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