#B02870#B02870

#B02870 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.182 H 353.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B02870
RGBrgb(176, 40, 112)
HSLhsl(328, 63%, 42%)
HSVhsv(328, 77%, 69%)
CMYKcmyk(0%, 77.3%, 36.4%, 31%)
CIE-LABlab(41.09, 59.00, -8.18)
CIE-LCHlch(41.09, 59.56, 352.11°)
OKLaboklab(51.62% 0.1811 -0.0209)
OKLCHoklch(51.62% 0.182 353.4)
XYZxyz(21.5893, 11.9202, 16.4900)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02870 #28B068
analogous
#AC28B0 #B02870 #B0282C
triadic
#B02870 #70B028 #2870B0
tetradic
#B02870 #B0AC28 #28B068 #282CB0
square
#B02870 #B0AC28 #28B068 #282CB0
split-complementary
#B02870 #2CB028 #28B0AC
monochromatic
#4C1131 #7E1D50 #B02870 #D4418F #DF73AC

Accessibility & contrast

On white

6.21
#B02870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B02870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02870
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02870#FFFFFF#000000##FFFFFF
##B028701.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#696A6D
Tritanopia (blue-blind)
#BE1949
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02870;
/* rgb */ color: rgb(176, 40, 112);
/* oklch */ color: oklch(51.6% 0.182 353.4);
Tailwind
colors: {
  custom: {
    50: '#cc7099',
    500: '#b02870',
    950: '#000000',
  },
}
SCSS
$custom: #b02870;
$custom-light: #cc7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b02870",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 328.235,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.18233,
    "h": 353.4
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#B02870
secondary
#6DC697
accent
#E68F42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B02870

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

Preview Lab → · Contrast checker → · Palette generator →

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