#B02789#B02789

#B02789 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.197 H 342.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B02789
RGBrgb(176, 39, 137)
HSLhsl(317, 64%, 42%)
HSVhsv(317, 78%, 69%)
CMYKcmyk(0%, 77.8%, 22.2%, 31%)
CIE-LABlab(41.98, 62.31, -22.26)
CIE-LCHlch(41.98, 66.16, 340.34°)
OKLaboklab(52.6% 0.1875 -0.0598)
OKLCHoklch(52.6% 0.197 342.3)
XYZxyz(23.1462, 12.4897, 24.8539)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02789 #27B04E
analogous
#9227B0 #B02789 #B02745
triadic
#B02789 #89B027 #2789B0
tetradic
#B02789 #B09227 #27B04E #2745B0
square
#B02789 #B09227 #27B04E #2745B0
split-complementary
#B02789 #45B027 #27B092
monochromatic
#4C113B #7E1C62 #B02789 #D540AA #E072C0

Accessibility & contrast

On white

6.00
#B02789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B02789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02789
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02789#FFFFFF#000000##FFFFFF
##B027891.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#BB2956
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02789;
/* rgb */ color: rgb(176, 39, 137);
/* oklch */ color: oklch(52.6% 0.197 342.3);
Tailwind
colors: {
  custom: {
    50: '#cc70ab',
    500: '#b02789',
    950: '#000000',
  },
}
SCSS
$custom: #b02789;
$custom-light: #cc70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02789",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 317.08,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.19682,
    "h": 342.3
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#B02789
secondary
#6CC786
accent
#E77041
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02789

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

Preview Lab → · Contrast checker → · Palette generator →

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