#B02591#B02591

#B02591 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.204 H 339.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B02591
RGBrgb(176, 37, 145)
HSLhsl(313, 65%, 42%)
HSVhsv(313, 79%, 69%)
CMYKcmyk(0%, 79%, 17.6%, 31%)
CIE-LABlab(42.15, 63.94, -26.87)
CIE-LCHlch(42.15, 69.36, 337.21°)
OKLaboklab(52.84% 0.1903 -0.0728)
OKLCHoklch(52.84% 0.204 339.1)
XYZxyz(23.6775, 12.5999, 27.9676)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02591 #25B044
analogous
#8A25B0 #B02591 #B0254C
triadic
#B02591 #91B025 #2591B0
tetradic
#B02591 #B08A25 #25B044 #254CB0
square
#B02591 #B08A25 #25B044 #254CB0
split-complementary
#B02591 #4CB025 #25B08A
monochromatic
#4B103E #7D1A67 #B02591 #D63CB4 #E16FC7

Accessibility & contrast

On white

5.97
#B02591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B02591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02591
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02591#FFFFFF#000000##FFFFFF
##B025911.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5694
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#BA2C59
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02591;
/* rgb */ color: rgb(176, 37, 145);
/* oklch */ color: oklch(52.8% 0.204 339.1);
Tailwind
colors: {
  custom: {
    50: '#cc70b1',
    500: '#b02591',
    950: '#000000',
  },
}
SCSS
$custom: #b02591;
$custom-light: #cc70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02591",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 313.381,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.20377,
    "h": 339.1
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#B02591
secondary
#6AC77E
accent
#E86540
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140911
muted
#837B80

Preview Lab

Preview with #B02591

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

Preview Lab → · Contrast checker → · Palette generator →

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