#B02875#B02875

#B02875 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.185 H 351.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B02875
RGBrgb(176, 40, 117)
HSLhsl(326, 63%, 42%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 77.3%, 33.5%, 31%)
CIE-LABlab(41.27, 59.56, -11.02)
CIE-LCHlch(41.27, 60.57, 349.52°)
OKLaboklab(51.82% 0.1825 -0.0286)
OKLCHoklch(51.82% 0.185 351.1)
XYZxyz(21.8755, 12.0347, 17.9971)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02875 #28B063
analogous
#A728B0 #B02875 #B02831
triadic
#B02875 #75B028 #2875B0
tetradic
#B02875 #B0A728 #28B063 #2831B0
square
#B02875 #B0A728 #28B063 #2831B0
split-complementary
#B02875 #31B028 #28B0A7
monochromatic
#4C1133 #7E1D54 #B02875 #D44194 #DF73B0

Accessibility & contrast

On white

6.16
#B02875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B02875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02875
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02875#FFFFFF#000000##FFFFFF
##B028751.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405277
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#BD1D4B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02875;
/* rgb */ color: rgb(176, 40, 117);
/* oklch */ color: oklch(51.8% 0.185 351.1);
Tailwind
colors: {
  custom: {
    50: '#cc709c',
    500: '#b02875',
    950: '#000000',
  },
}
SCSS
$custom: #b02875;
$custom-light: #cc709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02875",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 326.029,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.1847,
    "h": 351.1
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#B02875
secondary
#6DC694
accent
#E68942
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02875

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

Preview Lab → · Contrast checker → · Palette generator →

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