#B04874#B04874

#B04874 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.2% C 0.143 H 356.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B04874
RGBrgb(176, 72, 116)
HSLhsl(335, 42%, 49%)
HSVhsv(335, 59%, 69%)
CMYKcmyk(0%, 59.1%, 34.1%, 31%)
CIE-LABlab(45.81, 46.84, -3.62)
CIE-LCHlch(45.81, 46.98, 355.58°)
OKLaboklab(55.15% 0.1427 -0.0089)
OKLCHoklch(55.15% 0.143 356.4)
XYZxyz(23.3754, 15.1282, 18.2086)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04874 #48B084
analogous
#B048A8 #B04874 #B05048
triadic
#B04874 #74B048 #4874B0
tetradic
#B04874 #A8B048 #48B084 #5048B0
square
#B04874 #A8B048 #48B084 #5048B0
split-complementary
#B04874 #48B050 #48A8B0
monochromatic
#59243B #853657 #B04874 #C57094 #D69CB5

Accessibility & contrast

On white

5.22
#B04874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B04874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04874
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04874#FFFFFF#000000##FFFFFF
##B048741.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586075
Deuteranopia (green-blind)
#747472
Tritanopia (blue-blind)
#BD4059
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b04874;
/* rgb */ color: rgb(176, 72, 116);
/* oklch */ color: oklch(55.2% 0.143 356.4);
Tailwind
colors: {
  custom: {
    50: '#cb809c',
    500: '#b04874',
    950: '#000000',
  },
}
SCSS
$custom: #b04874;
$custom-light: #cb809c;
$custom-dark: #000000;
JSON
{
  "hex": "#b04874",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 334.615,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.143,
    "h": 356.4
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#B04874
secondary
#91C3AE
accent
#D29D56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #B04874

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

Preview Lab → · Contrast checker → · Palette generator →

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