#B04D98#B04D98

#B04D98 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.2% C 0.157 H 337.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B04D98
RGBrgb(176, 77, 152)
HSLhsl(315, 39%, 50%)
HSVhsv(315, 56%, 69%)
CMYKcmyk(0%, 56.2%, 13.6%, 31%)
CIE-LABlab(48.02, 49.58, -21.99)
CIE-LCHlch(48.02, 54.24, 336.08°)
OKLaboklab(57.22% 0.1454 -0.0593)
OKLCHoklch(57.22% 0.157 337.8)
XYZxyz(26.2262, 16.8069, 31.5624)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04D98 #4DB065
analogous
#964DB0 #B04D98 #B04D67
triadic
#B04D98 #98B04D #4D98B0
tetradic
#B04D98 #B0964D #4DB065 #4D67B0
square
#B04D98 #B0964D #4DB065 #4D67B0
split-complementary
#B04D98 #67B04D #4DB096
monochromatic
#5B284E #853A73 #B04D98 #C377B1 #D6A1C9

Accessibility & contrast

On white

4.82
#B04D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B04D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04D98
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04D98#FFFFFF#000000##FFFFFF
##B04D981.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50689A
Deuteranopia (green-blind)
#6D7895
Tritanopia (blue-blind)
#B9516C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b04d98;
/* rgb */ color: rgb(176, 77, 152);
/* oklch */ color: oklch(57.2% 0.157 337.8);
Tailwind
colors: {
  custom: {
    50: '#ca84b6',
    500: '#b04d98',
    950: '#000000',
  },
}
SCSS
$custom: #b04d98;
$custom-light: #ca84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04d98",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 314.545,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.15702,
    "h": 337.8
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#B04D98
secondary
#96C3A1
accent
#CF7559
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04D98

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

Preview Lab → · Contrast checker → · Palette generator →

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