#B02855#B02855

#B02855 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 6.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B02855
RGBrgb(176, 40, 85)
HSLhsl(340, 63%, 42%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 77.3%, 51.7%, 31%)
CIE-LABlab(40.26, 56.41, 7.59)
CIE-LCHlch(40.26, 56.92, 7.67°)
OKLaboklab(50.74% 0.1722 0.0197)
OKLCHoklch(50.74% 0.173 6.5)
XYZxyz(20.3048, 11.4064, 9.7250)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02855 #28B083
analogous
#B02899 #B02855 #B03F28
triadic
#B02855 #55B028 #2855B0
tetradic
#B02855 #99B028 #28B083 #3F28B0
square
#B02855 #99B028 #28B083 #3F28B0
split-complementary
#B02855 #28B03F #2899B0
monochromatic
#4C1125 #7E1D3D #B02855 #D44172 #DF7397

Accessibility & contrast

On white

6.40
#B02855 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02855
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02855#FFFFFF#000000##FFFFFF
##B028551.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E56
Deuteranopia (green-blind)
#6E6952
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02855;
/* rgb */ color: rgb(176, 40, 85);
/* oklch */ color: oklch(50.7% 0.173 6.5);
Tailwind
colors: {
  custom: {
    50: '#ce6f84',
    500: '#b02855',
    950: '#000000',
  },
}
SCSS
$custom: #b02855;
$custom-light: #ce6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#b02855",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 340.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.17331,
    "h": 6.5
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#B02855
secondary
#6DC6A9
accent
#E6B042
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02855

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

Preview Lab → · Contrast checker → · Palette generator →

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