#B04066#B04066

#B04066 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.7% C 0.149 H 2.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B04066
RGBrgb(176, 64, 102)
HSLhsl(340, 47%, 47%)
HSVhsv(340, 64%, 69%)
CMYKcmyk(0%, 63.6%, 42%, 31%)
CIE-LABlab(44.03, 48.89, 2.37)
CIE-LCHlch(44.03, 48.94, 2.78°)
OKLaboklab(53.69% 0.1493 0.0067)
OKLCHoklch(53.69% 0.149 2.6)
XYZxyz(22.1377, 13.8588, 14.0770)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04066 #40B08A
analogous
#B0409E #B04066 #B05240
triadic
#B04066 #66B040 #4066B0
tetradic
#B04066 #9EB040 #40B08A #5240B0
square
#B04066 #9EB040 #40B08A #5240B0
split-complementary
#B04066 #40B052 #409EB0
monochromatic
#561F32 #83304C #B04066 #C76687 #D893AA

Accessibility & contrast

On white

5.57
#B04066 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B04066 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04066
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04066#FFFFFF#000000##FFFFFF
##B040661.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565A67
Deuteranopia (green-blind)
#747063
Tritanopia (blue-blind)
#BE334F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b04066;
/* rgb */ color: rgb(176, 64, 102);
/* oklch */ color: oklch(53.7% 0.149 2.6);
Tailwind
colors: {
  custom: {
    50: '#cc7b91',
    500: '#b04066',
    950: '#000000',
  },
}
SCSS
$custom: #b04066;
$custom-light: #cc7b91;
$custom-dark: #000000;
JSON
{
  "hex": "#b04066",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 102
  },
  "hsl": {
    "h": 339.643,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53688,
    "c": 0.14944,
    "h": 2.6
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#B04066
secondary
#89C3AF
accent
#D6A951
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #B04066

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

Preview Lab → · Contrast checker → · Palette generator →

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