#B03158#B03158

#B03158 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.165 H 6.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B03158
RGBrgb(176, 49, 88)
HSLhsl(342, 56%, 44%)
HSVhsv(342, 72%, 69%)
CMYKcmyk(0%, 72.2%, 50%, 31%)
CIE-LABlab(41.43, 53.61, 7.36)
CIE-LCHlch(41.43, 54.11, 7.82°)
OKLaboklab(51.63% 0.1635 0.0192)
OKLCHoklch(51.63% 0.165 6.7)
XYZxyz(20.7660, 12.1341, 10.4792)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03158 #31B089
analogous
#B03198 #B03158 #B04A31
triadic
#B03158 #58B031 #3158B0
tetradic
#B03158 #98B031 #31B089 #4A31B0
square
#B03158 #98B031 #31B089 #4A31B0
split-complementary
#B03158 #31B04A #3198B0
monochromatic
#501628 #802440 #B03158 #CE5077 #DC809C

Accessibility & contrast

On white

6.13
#B03158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B03158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03158
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03158#FFFFFF#000000##FFFFFF
##B031581.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5259
Deuteranopia (green-blind)
#716B55
Tritanopia (blue-blind)
#C01841
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b03158;
/* rgb */ color: rgb(176, 49, 88);
/* oklch */ color: oklch(51.6% 0.165 6.7);
Tailwind
colors: {
  custom: {
    50: '#cd7386',
    500: '#b03158',
    950: '#000000',
  },
}
SCSS
$custom: #b03158;
$custom-light: #cd7386;
$custom-dark: #000000;
JSON
{
  "hex": "#b03158",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 341.575,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.16459,
    "h": 6.7
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#B03158
secondary
#78C5AD
accent
#E0B148
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B03158

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

Preview Lab → · Contrast checker → · Palette generator →

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