#B02856#B02856

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

Color values

HEX#B02856
RGBrgb(176, 40, 86)
HSLhsl(340, 63%, 42%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 77.3%, 51.1%, 31%)
CIE-LABlab(40.28, 56.50, 7.00)
CIE-LCHlch(40.28, 56.93, 7.06°)
OKLaboklab(50.77% 0.1726 0.0183)
OKLCHoklch(50.77% 0.174 6)
XYZxyz(20.3448, 11.4224, 9.9357)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02856 #28B082
analogous
#B0289A #B02856 #B03E28
triadic
#B02856 #56B028 #2856B0
tetradic
#B02856 #9AB028 #28B082 #3E28B0
square
#B02856 #9AB028 #28B082 #3E28B0
split-complementary
#B02856 #28B03E #289AB0
monochromatic
#4C1125 #7E1D3E #B02856 #D44173 #DF7398

Accessibility & contrast

On white

6.39
#B02856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B02856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02856
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02856#FFFFFF#000000##FFFFFF
##B028561.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E57
Deuteranopia (green-blind)
#6E6953
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02856;
/* rgb */ color: rgb(176, 40, 86);
/* oklch */ color: oklch(50.8% 0.174 6.0);
Tailwind
colors: {
  custom: {
    50: '#ce6f85',
    500: '#b02856',
    950: '#000000',
  },
}
SCSS
$custom: #b02856;
$custom-light: #ce6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#b02856",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 339.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.17351,
    "h": 6
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#B02856
secondary
#6DC6A8
accent
#E6AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02856

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

Preview Lab → · Contrast checker → · Palette generator →

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