#B02792#B02792

#B02792 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.0% C 0.203 H 338.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B02792
RGBrgb(176, 39, 146)
HSLhsl(313, 64%, 42%)
HSVhsv(313, 78%, 69%)
CMYKcmyk(0%, 77.8%, 17%, 31%)
CIE-LABlab(42.40, 63.52, -27.10)
CIE-LCHlch(42.40, 69.06, 336.90°)
OKLaboklab(53.03% 0.1887 -0.0735)
OKLCHoklch(53.03% 0.203 338.7)
XYZxyz(23.8189, 12.7588, 28.3968)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02792 #27B045
analogous
#8A27B0 #B02792 #B0274D
triadic
#B02792 #92B027 #2792B0
tetradic
#B02792 #B08A27 #27B045 #274DB0
square
#B02792 #B08A27 #27B045 #274DB0
split-complementary
#B02792 #4DB027 #27B08A
monochromatic
#4C113F #7E1C68 #B02792 #D540B4 #E072C8

Accessibility & contrast

On white

5.91
#B02792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B02792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02792
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02792#FFFFFF#000000##FFFFFF
##B027921.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5795
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#BA2E5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02792;
/* rgb */ color: rgb(176, 39, 146);
/* oklch */ color: oklch(53.0% 0.203 338.7);
Tailwind
colors: {
  custom: {
    50: '#cc71b2',
    500: '#b02792',
    950: '#000000',
  },
}
SCSS
$custom: #b02792;
$custom-light: #cc71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02792",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 313.139,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.20253,
    "h": 338.7
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#B02792
secondary
#6CC780
accent
#E76541
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02792

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

Preview Lab → · Contrast checker → · Palette generator →

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