#B04080#B04080

#B04080 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.161 H 348.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B04080
RGBrgb(176, 64, 128)
HSLhsl(326, 47%, 47%)
HSVhsv(326, 64%, 69%)
CMYKcmyk(0%, 63.6%, 27.3%, 31%)
CIE-LABlab(44.88, 52.00, -12.33)
CIE-LCHlch(44.88, 53.44, 346.66°)
OKLaboklab(54.6% 0.1575 -0.0323)
OKLCHoklch(54.6% 0.161 348.4)
XYZxyz(23.6352, 14.4578, 21.9638)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04080 #40B070
analogous
#A840B0 #B04080 #B04048
triadic
#B04080 #80B040 #4080B0
tetradic
#B04080 #B0A840 #40B070 #4048B0
square
#B04080 #B0A840 #40B070 #4048B0
split-complementary
#B04080 #48B040 #40B0A8
monochromatic
#561F3F #83305F #B04080 #C7669E #D893BA

Accessibility & contrast

On white

5.40
#B04080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B04080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04080
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04080#FFFFFF#000000##FFFFFF
##B040801.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E82
Deuteranopia (green-blind)
#6D717D
Tritanopia (blue-blind)
#BC3C5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b04080;
/* rgb */ color: rgb(176, 64, 128);
/* oklch */ color: oklch(54.6% 0.161 348.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ca4',
    500: '#b04080',
    950: '#000000',
  },
}
SCSS
$custom: #b04080;
$custom-light: #cb7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04080",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 325.714,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.16082,
    "h": 348.4
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#B04080
secondary
#89C3A2
accent
#D68A51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B04080

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

Preview Lab → · Contrast checker → · Palette generator →

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