#B02791#B02791

#B02791 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.202 H 339.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B02791
RGBrgb(176, 39, 145)
HSLhsl(314, 64%, 42%)
HSVhsv(314, 78%, 69%)
CMYKcmyk(0%, 77.8%, 17.6%, 31%)
CIE-LABlab(42.35, 63.38, -26.56)
CIE-LCHlch(42.35, 68.72, 337.26°)
OKLaboklab(52.99% 0.1886 -0.0719)
OKLCHoklch(52.99% 0.202 339.1)
XYZxyz(23.7415, 12.7278, 27.9890)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02791 #27B046
analogous
#8B27B0 #B02791 #B0274C
triadic
#B02791 #91B027 #2791B0
tetradic
#B02791 #B08B27 #27B046 #274CB0
square
#B02791 #B08B27 #27B046 #274CB0
split-complementary
#B02791 #4CB027 #27B08B
monochromatic
#4C113E #7E1C68 #B02791 #D540B3 #E072C7

Accessibility & contrast

On white

5.92
#B02791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02791
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02791#FFFFFF#000000##FFFFFF
##B027911.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#5E6C8E
Tritanopia (blue-blind)
#BA2D5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02791;
/* rgb */ color: rgb(176, 39, 145);
/* oklch */ color: oklch(53.0% 0.202 339.1);
Tailwind
colors: {
  custom: {
    50: '#cc71b1',
    500: '#b02791',
    950: '#000000',
  },
}
SCSS
$custom: #b02791;
$custom-light: #cc71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02791",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 313.577,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.20188,
    "h": 339.1
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#B02791
secondary
#6CC781
accent
#E76741
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02791

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

Preview Lab → · Contrast checker → · Palette generator →

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