#B02858#B02858

#B02858 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.174 H 5.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B02858
RGBrgb(176, 40, 88)
HSLhsl(339, 63%, 42%)
HSVhsv(339, 77%, 69%)
CMYKcmyk(0%, 77.3%, 50%, 31%)
CIE-LABlab(40.34, 56.66, 5.81)
CIE-LCHlch(40.34, 56.96, 5.85°)
OKLaboklab(50.83% 0.1733 0.0153)
OKLCHoklch(50.83% 0.174 5.1)
XYZxyz(20.4265, 11.4551, 10.3661)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02858 #28B080
analogous
#B0289C #B02858 #B03C28
triadic
#B02858 #58B028 #2858B0
tetradic
#B02858 #9CB028 #28B080 #3C28B0
square
#B02858 #9CB028 #28B080 #3C28B0
split-complementary
#B02858 #28B03C #289CB0
monochromatic
#4C1126 #7E1D3F #B02858 #D44175 #DF7399

Accessibility & contrast

On white

6.38
#B02858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B02858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02858
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02858#FFFFFF#000000##FFFFFF
##B028581.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#C0003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02858;
/* rgb */ color: rgb(176, 40, 88);
/* oklch */ color: oklch(50.8% 0.174 5.1);
Tailwind
colors: {
  custom: {
    50: '#ce6f86',
    500: '#b02858',
    950: '#000000',
  },
}
SCSS
$custom: #b02858;
$custom-light: #ce6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b02858",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 338.824,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.17397,
    "h": 5.1
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#B02858
secondary
#6DC6A7
accent
#E6AC42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02858

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

Preview Lab → · Contrast checker → · Palette generator →

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