#B02785#B02785

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

Color values

HEX#B02785
RGBrgb(176, 39, 133)
HSLhsl(319, 64%, 42%)
HSVhsv(319, 78%, 69%)
CMYKcmyk(0%, 77.8%, 24.4%, 31%)
CIE-LABlab(41.81, 61.79, -20.08)
CIE-LCHlch(41.81, 64.97, 342.00°)
OKLaboklab(52.42% 0.1869 -0.0536)
OKLCHoklch(52.42% 0.194 344)
XYZxyz(22.8646, 12.3771, 23.3706)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02785 #27B052
analogous
#9727B0 #B02785 #B02741
triadic
#B02785 #85B027 #2785B0
tetradic
#B02785 #B09727 #27B052 #2741B0
square
#B02785 #B09727 #27B052 #2741B0
split-complementary
#B02785 #41B027 #27B097
monochromatic
#4C1139 #7E1C5F #B02785 #D540A6 #E072BD

Accessibility & contrast

On white

6.04
#B02785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B02785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02785
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02785#FFFFFF#000000##FFFFFF
##B027851.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02785;
/* rgb */ color: rgb(176, 39, 133);
/* oklch */ color: oklch(52.4% 0.194 344.0);
Tailwind
colors: {
  custom: {
    50: '#cc70a8',
    500: '#b02785',
    950: '#000000',
  },
}
SCSS
$custom: #b02785;
$custom-light: #cc70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02785",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 318.832,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.19441,
    "h": 344
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#B02785
secondary
#6CC789
accent
#E77541
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02785

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

Preview Lab → · Contrast checker → · Palette generator →

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