#B04F7D#B04F7D

#B04F7D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.4% C 0.136 H 352.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B04F7D
RGBrgb(176, 79, 125)
HSLhsl(332, 38%, 50%)
HSVhsv(332, 55%, 69%)
CMYKcmyk(0%, 55.1%, 29%, 31%)
CIE-LABlab(47.37, 44.63, -6.77)
CIE-LCHlch(47.37, 45.14, 351.38°)
OKLaboklab(56.41% 0.1352 -0.0174)
OKLCHoklch(56.41% 0.136 352.7)
XYZxyz(24.4031, 16.3050, 21.2600)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04F7D #4FB082
analogous
#B04FAE #B04F7D #B0514F
triadic
#B04F7D #7DB04F #4F7DB0
tetradic
#B04F7D #AEB04F #4FB082 #514FB0
square
#B04F7D #AEB04F #4FB082 #514FB0
split-complementary
#B04F7D #4FB051 #4FAEB0
monochromatic
#5C2941 #863C5F #B04F7D #C3799C #D6A3BB

Accessibility & contrast

On white

4.93
#B04F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B04F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04F7D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04F7D#FFFFFF#000000##FFFFFF
##B04F7D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C667E
Deuteranopia (green-blind)
#76777B
Tritanopia (blue-blind)
#BC4A61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b04f7d;
/* rgb */ color: rgb(176, 79, 125);
/* oklch */ color: oklch(56.4% 0.136 352.7);
Tailwind
colors: {
  custom: {
    50: '#ca84a2',
    500: '#b04f7d',
    950: '#000000',
  },
}
SCSS
$custom: #b04f7d;
$custom-light: #ca84a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04f7d",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 331.546,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.13635,
    "h": 352.7
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#B04F7D
secondary
#98C3AF
accent
#CE975A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0F
muted
#827C7E

Preview Lab

Preview with #B04F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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