#B02794#B02794

#B02794 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.204 H 338.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B02794
RGBrgb(176, 39, 148)
HSLhsl(312, 64%, 42%)
HSVhsv(312, 78%, 69%)
CMYKcmyk(0%, 77.8%, 15.9%, 31%)
CIE-LABlab(42.49, 63.80, -28.16)
CIE-LCHlch(42.49, 69.74, 336.18°)
OKLaboklab(53.13% 0.1889 -0.0765)
OKLCHoklch(53.13% 0.204 338)
XYZxyz(23.9759, 12.8216, 29.2234)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02794 #27B043
analogous
#8827B0 #B02794 #B0274F
triadic
#B02794 #94B027 #2794B0
tetradic
#B02794 #B08827 #27B043 #274FB0
square
#B02794 #B08827 #27B043 #274FB0
split-complementary
#B02794 #4FB027 #27B088
monochromatic
#4C1140 #7E1C6A #B02794 #D540B6 #E072C9

Accessibility & contrast

On white

5.89
#B02794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B02794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02794
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02794#FFFFFF#000000##FFFFFF
##B027941.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#5D6C91
Tritanopia (blue-blind)
#BA2F5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02794;
/* rgb */ color: rgb(176, 39, 148);
/* oklch */ color: oklch(53.1% 0.204 338.0);
Tailwind
colors: {
  custom: {
    50: '#cc71b3',
    500: '#b02794',
    950: '#000000',
  },
}
SCSS
$custom: #b02794;
$custom-light: #cc71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02794",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 312.263,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.20384,
    "h": 338
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#B02794
secondary
#6CC77F
accent
#E76341
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02794

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

Preview Lab → · Contrast checker → · Palette generator →

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