#B04074#B04074

#B04074 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.1% C 0.155 H 354.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B04074
RGBrgb(176, 64, 116)
HSLhsl(332, 47%, 47%)
HSVhsv(332, 64%, 69%)
CMYKcmyk(0%, 63.6%, 34.1%, 31%)
CIE-LABlab(44.46, 50.48, -5.62)
CIE-LCHlch(44.46, 50.79, 353.65°)
OKLaboklab(54.15% 0.154 -0.0142)
OKLCHoklch(54.15% 0.155 354.7)
XYZxyz(22.8915, 14.1603, 18.0473)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04074 #40B07C
analogous
#B040AC #B04074 #B04440
triadic
#B04074 #74B040 #4074B0
tetradic
#B04074 #ACB040 #40B07C #4440B0
square
#B04074 #ACB040 #40B07C #4440B0
split-complementary
#B04074 #40B044 #40ACB0
monochromatic
#561F39 #833056 #B04074 #C76693 #D893B3

Accessibility & contrast

On white

5.48
#B04074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B04074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04074
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04074#FFFFFF#000000##FFFFFF
##B040741.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C76
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#BD3855
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04074;
/* rgb */ color: rgb(176, 64, 116);
/* oklch */ color: oklch(54.1% 0.155 354.7);
Tailwind
colors: {
  custom: {
    50: '#cb7b9c',
    500: '#b04074',
    950: '#000000',
  },
}
SCSS
$custom: #b04074;
$custom-light: #cb7b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b04074",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 332.143,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.15468,
    "h": 354.7
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#B04074
secondary
#89C3A8
accent
#D69951
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B04074

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

Preview Lab → · Contrast checker → · Palette generator →

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