#B02895#B02895

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

Color values

HEX#B02895
RGBrgb(176, 40, 149)
HSLhsl(312, 63%, 42%)
HSVhsv(312, 77%, 69%)
CMYKcmyk(0%, 77.3%, 15.3%, 31%)
CIE-LABlab(42.64, 63.65, -28.53)
CIE-LCHlch(42.64, 69.75, 335.86°)
OKLaboklab(53.26% 0.1882 -0.0776)
OKLCHoklch(53.26% 0.204 337.6)
XYZxyz(24.0886, 12.9199, 29.6531)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02895 #28B043
analogous
#8728B0 #B02895 #B02851
triadic
#B02895 #95B028 #2895B0
tetradic
#B02895 #B08728 #28B043 #2851B0
square
#B02895 #B08728 #28B043 #2851B0
split-complementary
#B02895 #51B028 #28B087
monochromatic
#4C1141 #7E1D6B #B02895 #D441B7 #DF73CA

Accessibility & contrast

On white

5.86
#B02895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B02895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02895
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02895#FFFFFF#000000##FFFFFF
##B028951.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02895;
/* rgb */ color: rgb(176, 40, 149);
/* oklch */ color: oklch(53.3% 0.204 337.6);
Tailwind
colors: {
  custom: {
    50: '#cc71b4',
    500: '#b02895',
    950: '#000000',
  },
}
SCSS
$custom: #b02895;
$custom-light: #cc71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02895",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 311.912,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.20353,
    "h": 337.6
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#B02895
secondary
#6DC67F
accent
#E66242
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02895

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

Preview Lab → · Contrast checker → · Palette generator →

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