#B02868#B02868

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

Color values

HEX#B02868
RGBrgb(176, 40, 104)
HSLhsl(332, 63%, 42%)
HSVhsv(332, 77%, 69%)
CMYKcmyk(0%, 77.3%, 40.9%, 31%)
CIE-LABlab(40.82, 58.16, -3.58)
CIE-LCHlch(40.82, 58.27, 356.48°)
OKLaboklab(51.33% 0.1788 -0.0087)
OKLCHoklch(51.33% 0.179 357.2)
XYZxyz(21.1635, 11.7499, 14.2475)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02868 #28B070
analogous
#B028AC #B02868 #B02C28
triadic
#B02868 #68B028 #2868B0
tetradic
#B02868 #ACB028 #28B070 #2C28B0
square
#B02868 #ACB028 #28B070 #2C28B0
split-complementary
#B02868 #28B02C #28ACB0
monochromatic
#4C112D #7E1D4B #B02868 #D44186 #DF73A6

Accessibility & contrast

On white

6.27
#B02868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B02868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02868
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02868#FFFFFF#000000##FFFFFF
##B028681.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45506A
Deuteranopia (green-blind)
#6B6965
Tritanopia (blue-blind)
#BF1245
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02868;
/* rgb */ color: rgb(176, 40, 104);
/* oklch */ color: oklch(51.3% 0.179 357.2);
Tailwind
colors: {
  custom: {
    50: '#cd7093',
    500: '#b02868',
    950: '#000000',
  },
}
SCSS
$custom: #b02868;
$custom-light: #cd7093;
$custom-dark: #000000;
JSON
{
  "hex": "#b02868",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 331.765,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.17897,
    "h": 357.2
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#B02868
secondary
#6DC69D
accent
#E69942
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B02868

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

Preview Lab → · Contrast checker → · Palette generator →

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