#B02054#B02054

#B02054 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.180 H 5.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B02054
RGBrgb(176, 32, 84)
HSLhsl(338, 69%, 41%)
HSVhsv(338, 82%, 69%)
CMYKcmyk(0%, 81.8%, 52.3%, 31%)
CIE-LABlab(39.42, 58.62, 7.05)
CIE-LCHlch(39.42, 59.04, 6.86°)
OKLaboklab(50.12% 0.1792 0.0184)
OKLCHoklch(50.12% 0.18 5.8)
XYZxyz(20.0231, 10.9061, 9.4365)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02054 #20B07C
analogous
#B0209C #B02054 #B03420
triadic
#B02054 #54B020 #2054B0
tetradic
#B02054 #9CB020 #20B07C #3420B0
square
#B02054 #9CB020 #20B07C #3420B0
split-complementary
#B02054 #20B034 #209CB0
monochromatic
#480D23 #7C173B #B02054 #DA336F #E36794

Accessibility & contrast

On white

6.60
#B02054 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B02054 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02054
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02054#FFFFFF#000000##FFFFFF
##B020541.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B55
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#C00038
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02054;
/* rgb */ color: rgb(176, 32, 84);
/* oklch */ color: oklch(50.1% 0.180 5.8);
Tailwind
colors: {
  custom: {
    50: '#ce6c83',
    500: '#b02054',
    950: '#000000',
  },
}
SCSS
$custom: #b02054;
$custom-light: #ce6c83;
$custom-dark: #000000;
JSON
{
  "hex": "#b02054",
  "rgb": {
    "r": 176,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 338.333,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.18015,
    "h": 5.8
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#B02054
secondary
#63C9A4
accent
#ECAC3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02054

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

Preview Lab → · Contrast checker → · Palette generator →

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