#B02866#B02866

#B02866 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.178 H 358.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B02866
RGBrgb(176, 40, 102)
HSLhsl(333, 63%, 42%)
HSVhsv(333, 77%, 69%)
CMYKcmyk(0%, 77.3%, 42%, 31%)
CIE-LABlab(40.75, 57.96, -2.42)
CIE-LCHlch(40.75, 58.01, 357.61°)
OKLaboklab(51.27% 0.1781 -0.0056)
OKLCHoklch(51.27% 0.178 358.2)
XYZxyz(21.0631, 11.7097, 13.7188)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02866 #28B072
analogous
#B028AA #B02866 #B02E28
triadic
#B02866 #66B028 #2866B0
tetradic
#B02866 #AAB028 #28B072 #2E28B0
square
#B02866 #AAB028 #28B072 #2E28B0
split-complementary
#B02866 #28B02E #28AAB0
monochromatic
#4C112C #7E1D49 #B02866 #D44184 #DF73A4

Accessibility & contrast

On white

6.28
#B02866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B02866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02866
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02866#FFFFFF#000000##FFFFFF
##B028661.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465068
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#BF1044
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02866;
/* rgb */ color: rgb(176, 40, 102);
/* oklch */ color: oklch(51.3% 0.178 358.2);
Tailwind
colors: {
  custom: {
    50: '#cd7091',
    500: '#b02866',
    950: '#000000',
  },
}
SCSS
$custom: #b02866;
$custom-light: #cd7091;
$custom-dark: #000000;
JSON
{
  "hex": "#b02866",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 332.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.17822,
    "h": 358.2
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#B02866
secondary
#6DC69E
accent
#E69B42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #B02866

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

Preview Lab → · Contrast checker → · Palette generator →

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