#B03157#B03157

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

Color values

HEX#B03157
RGBrgb(176, 49, 87)
HSLhsl(342, 56%, 44%)
HSVhsv(342, 72%, 69%)
CMYKcmyk(0%, 72.2%, 50.6%, 31%)
CIE-LABlab(41.40, 53.52, 7.95)
CIE-LCHlch(41.40, 54.11, 8.45°)
OKLaboklab(51.6% 0.1631 0.0206)
OKLCHoklch(51.6% 0.164 7.2)
XYZxyz(20.7249, 12.1176, 10.2626)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03157 #31B08A
analogous
#B03197 #B03157 #B04B31
triadic
#B03157 #57B031 #3157B0
tetradic
#B03157 #97B031 #31B08A #4B31B0
square
#B03157 #97B031 #31B08A #4B31B0
split-complementary
#B03157 #31B04B #3197B0
monochromatic
#501628 #80243F #B03157 #CE5076 #DC809B

Accessibility & contrast

On white

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

On black

3.42
#B03157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B03157#FFFFFF#000000##FFFFFF
##B031571.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5158
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#C01741
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b03157;
/* rgb */ color: rgb(176, 49, 87);
/* oklch */ color: oklch(51.6% 0.164 7.2);
Tailwind
colors: {
  custom: {
    50: '#cd7386',
    500: '#b03157',
    950: '#000000',
  },
}
SCSS
$custom: #b03157;
$custom-light: #cd7386;
$custom-dark: #000000;
JSON
{
  "hex": "#b03157",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 342.047,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.16439,
    "h": 7.2
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#B03157
secondary
#78C5AE
accent
#E0B248
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B03157

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

Preview Lab → · Contrast checker → · Palette generator →

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