#B02885#B02885

#B02885 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.193 H 344.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B02885
RGBrgb(176, 40, 133)
HSLhsl(319, 63%, 42%)
HSVhsv(319, 77%, 69%)
CMYKcmyk(0%, 77.3%, 24.4%, 31%)
CIE-LABlab(41.91, 61.49, -19.92)
CIE-LCHlch(41.91, 64.64, 342.05°)
OKLaboklab(52.49% 0.186 -0.0532)
OKLCHoklch(52.49% 0.193 344)
XYZxyz(22.8979, 12.4436, 23.3817)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02885 #28B053
analogous
#9728B0 #B02885 #B02841
triadic
#B02885 #85B028 #2885B0
tetradic
#B02885 #B09728 #28B053 #2841B0
square
#B02885 #B09728 #28B053 #2841B0
split-complementary
#B02885 #41B028 #28B097
monochromatic
#4C113A #7E1D5F #B02885 #D441A6 #DF73BD

Accessibility & contrast

On white

6.02
#B02885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B02885 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02885
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02885#FFFFFF#000000##FFFFFF
##B028851.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395487
Deuteranopia (green-blind)
#636B82
Tritanopia (blue-blind)
#BC2754
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02885;
/* rgb */ color: rgb(176, 40, 133);
/* oklch */ color: oklch(52.5% 0.193 344.0);
Tailwind
colors: {
  custom: {
    50: '#cc71a8',
    500: '#b02885',
    950: '#000000',
  },
}
SCSS
$custom: #b02885;
$custom-light: #cc71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02885",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 318.971,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.19342,
    "h": 344
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#B02885
secondary
#6DC68A
accent
#E67642
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02885

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

Preview Lab → · Contrast checker → · Palette generator →

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