#B02595#B02595

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

Color values

HEX#B02595
RGBrgb(176, 37, 149)
HSLhsl(312, 65%, 42%)
HSVhsv(312, 79%, 69%)
CMYKcmyk(0%, 79%, 15.3%, 31%)
CIE-LABlab(42.35, 64.50, -28.99)
CIE-LCHlch(42.35, 70.71, 335.79°)
OKLaboklab(53.04% 0.1907 -0.0789)
OKLCHoklch(53.04% 0.206 337.5)
XYZxyz(23.9914, 12.7255, 29.6207)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02595 #25B040
analogous
#8625B0 #B02595 #B0254F
triadic
#B02595 #95B025 #2595B0
tetradic
#B02595 #B08625 #25B040 #254FB0
square
#B02595 #B08625 #25B040 #254FB0
split-complementary
#B02595 #4FB025 #25B086
monochromatic
#4B103F #7D1A6A #B02595 #D63CB8 #E16FCB

Accessibility & contrast

On white

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

On black

3.54
#B02595 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B02595#FFFFFF#000000##FFFFFF
##B025951.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#5C6B92
Tritanopia (blue-blind)
#BA2E5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02595;
/* rgb */ color: rgb(176, 37, 149);
/* oklch */ color: oklch(53.0% 0.206 337.5);
Tailwind
colors: {
  custom: {
    50: '#cc70b4',
    500: '#b02595',
    950: '#000000',
  },
}
SCSS
$custom: #b02595;
$custom-light: #cc70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02595",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 311.655,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.20638,
    "h": 337.5
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#B02595
secondary
#6AC77C
accent
#E86040
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02595

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

Preview Lab → · Contrast checker → · Palette generator →

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