#B04898#B04898

#B04898 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.165 H 337.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B04898
RGBrgb(176, 72, 152)
HSLhsl(314, 42%, 49%)
HSVhsv(314, 59%, 69%)
CMYKcmyk(0%, 59.1%, 13.6%, 31%)
CIE-LABlab(47.15, 51.92, -23.33)
CIE-LCHlch(47.15, 56.92, 335.81°)
OKLaboklab(56.58% 0.1523 -0.063)
OKLCHoklch(56.58% 0.165 337.5)
XYZxyz(25.8897, 16.1339, 31.4503)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04898 #48B060
analogous
#9448B0 #B04898 #B04864
triadic
#B04898 #98B048 #4898B0
tetradic
#B04898 #B09448 #48B060 #4864B0
square
#B04898 #B09448 #48B060 #4864B0
split-complementary
#B04898 #64B048 #48B094
monochromatic
#59244D #853672 #B04898 #C570B1 #D69CC9

Accessibility & contrast

On white

4.97
#B04898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B04898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04898
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04898#FFFFFF#000000##FFFFFF
##B048981.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#B94C69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b04898;
/* rgb */ color: rgb(176, 72, 152);
/* oklch */ color: oklch(56.6% 0.165 337.5);
Tailwind
colors: {
  custom: {
    50: '#ca81b6',
    500: '#b04898',
    950: '#000000',
  },
}
SCSS
$custom: #b04898;
$custom-light: #ca81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04898",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 313.846,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.16483,
    "h": 337.5
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#B04898
secondary
#91C39C
accent
#D27356
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B04898

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

Preview Lab → · Contrast checker → · Palette generator →

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