#B0287F#B0287F

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

Color values

HEX#B0287F
RGBrgb(176, 40, 127)
HSLhsl(322, 63%, 42%)
HSVhsv(322, 77%, 69%)
CMYKcmyk(0%, 77.3%, 27.8%, 31%)
CIE-LABlab(41.66, 60.74, -16.61)
CIE-LCHlch(41.66, 62.97, 344.70°)
OKLaboklab(52.23% 0.1848 -0.044)
OKLCHoklch(52.23% 0.19 346.6)
XYZxyz(22.4951, 12.2825, 21.2607)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0287F #28B059
analogous
#9D28B0 #B0287F #B0283B
triadic
#B0287F #7FB028 #287FB0
tetradic
#B0287F #B09D28 #28B059 #283BB0
square
#B0287F #B09D28 #28B059 #283BB0
split-complementary
#B0287F #3BB028 #28B09D
monochromatic
#4C1137 #7E1D5B #B0287F #D4419F #DF73B8

Accessibility & contrast

On white

6.08
#B0287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B0287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0287F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0287F#FFFFFF#000000##FFFFFF
##B0287F1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#BC2350
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0287f;
/* rgb */ color: rgb(176, 40, 127);
/* oklch */ color: oklch(52.2% 0.190 346.6);
Tailwind
colors: {
  custom: {
    50: '#cc70a4',
    500: '#b0287f',
    950: '#000000',
  },
}
SCSS
$custom: #b0287f;
$custom-light: #cc70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0287f",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 321.618,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.18995,
    "h": 346.6
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#B0287F
secondary
#6DC68D
accent
#E67D42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B0287F

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

Preview Lab → · Contrast checker → · Palette generator →

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