#B02795#B02795

#B02795 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.2% C 0.205 H 337.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B02795
RGBrgb(176, 39, 149)
HSLhsl(312, 64%, 42%)
HSVhsv(312, 78%, 69%)
CMYKcmyk(0%, 77.8%, 15.3%, 31%)
CIE-LABlab(42.54, 63.94, -28.69)
CIE-LCHlch(42.54, 70.08, 335.83°)
OKLaboklab(53.19% 0.189 -0.078)
OKLCHoklch(53.19% 0.205 337.6)
XYZxyz(24.0554, 12.8534, 29.6420)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02795 #27B042
analogous
#8727B0 #B02795 #B02750
triadic
#B02795 #95B027 #2795B0
tetradic
#B02795 #B08727 #27B042 #2750B0
square
#B02795 #B08727 #27B042 #2750B0
split-complementary
#B02795 #50B027 #27B087
monochromatic
#4C1140 #7E1C6B #B02795 #D540B7 #E072CA

Accessibility & contrast

On white

5.88
#B02795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B02795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02795
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02795#FFFFFF#000000##FFFFFF
##B027951.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#5D6C92
Tritanopia (blue-blind)
#BA305C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02795;
/* rgb */ color: rgb(176, 39, 149);
/* oklch */ color: oklch(53.2% 0.205 337.6);
Tailwind
colors: {
  custom: {
    50: '#cc71b4',
    500: '#b02795',
    950: '#000000',
  },
}
SCSS
$custom: #b02795;
$custom-light: #cc71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02795",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 311.825,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.20451,
    "h": 337.6
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#B02795
secondary
#6CC77E
accent
#E76241
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02795

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

Preview Lab → · Contrast checker → · Palette generator →

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