#B0287E#B0287E

#B0287E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.189 H 347.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B0287E
RGBrgb(176, 40, 126)
HSLhsl(322, 63%, 42%)
HSVhsv(322, 77%, 69%)
CMYKcmyk(0%, 77.3%, 28.4%, 31%)
CIE-LABlab(41.62, 60.62, -16.06)
CIE-LCHlch(41.62, 62.71, 345.16°)
OKLaboklab(52.19% 0.1846 -0.0424)
OKLCHoklch(52.19% 0.189 347.1)
XYZxyz(22.4303, 12.2566, 20.9191)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0287E #28B05A
analogous
#9E28B0 #B0287E #B0283A
triadic
#B0287E #7EB028 #287EB0
tetradic
#B0287E #B09E28 #28B05A #283AB0
square
#B0287E #B09E28 #28B05A #283AB0
split-complementary
#B0287E #3AB028 #28B09E
monochromatic
#4C1137 #7E1D5A #B0287E #D4419E #DF73B7

Accessibility & contrast

On white

6.09
#B0287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B0287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0287E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0287E#FFFFFF#000000##FFFFFF
##B0287E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#BD2350
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0287e;
/* rgb */ color: rgb(176, 40, 126);
/* oklch */ color: oklch(52.2% 0.189 347.1);
Tailwind
colors: {
  custom: {
    50: '#cc70a3',
    500: '#b0287e',
    950: '#000000',
  },
}
SCSS
$custom: #b0287e;
$custom-light: #cc70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b0287e",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 322.059,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.1894,
    "h": 347.1
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#B0287E
secondary
#6DC68E
accent
#E67E42
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B0287E

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

Preview Lab → · Contrast checker → · Palette generator →

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