#B33158#B33158

#B33158 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.167 H 7.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B33158
RGBrgb(179, 49, 88)
HSLhsl(342, 57%, 45%)
HSVhsv(342, 73%, 70%)
CMYKcmyk(0%, 72.6%, 50.8%, 29.8%)
CIE-LABlab(41.98, 54.51, 8.22)
CIE-LCHlch(41.98, 55.12, 8.58°)
OKLaboklab(52.14% 0.1661 0.0213)
OKLCHoklch(52.14% 0.167 7.3)
XYZxyz(21.4520, 12.4878, 10.5114)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33158 #31B38C
analogous
#B33199 #B33158 #B34B31
triadic
#B33158 #58B331 #3158B3
tetradic
#B33158 #99B331 #31B38C #4B31B3
square
#B33158 #99B331 #31B38C #4B31B3
split-complementary
#B33158 #31B34B #3199B3
monochromatic
#531729 #832440 #B33158 #D05277 #DD829D

Accessibility & contrast

On white

6.01
#B33158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B33158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33158
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33158#FFFFFF#000000##FFFFFF
##B331581.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505359
Deuteranopia (green-blind)
#726D55
Tritanopia (blue-blind)
#C31541
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b33158;
/* rgb */ color: rgb(179, 49, 88);
/* oklch */ color: oklch(52.1% 0.167 7.3);
Tailwind
colors: {
  custom: {
    50: '#d07386',
    500: '#b33158',
    950: '#000000',
  },
}
SCSS
$custom: #b33158;
$custom-light: #d07386;
$custom-dark: #000000;
JSON
{
  "hex": "#b33158",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 342,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.16744,
    "h": 7.3
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#B33158
secondary
#7AC6AF
accent
#E0B248
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B33158

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

Preview Lab → · Contrast checker → · Palette generator →

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