#B04082#B04082

#B04082 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.162 H 347.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B04082
RGBrgb(176, 64, 130)
HSLhsl(325, 47%, 47%)
HSVhsv(325, 64%, 69%)
CMYKcmyk(0%, 63.6%, 26.1%, 31%)
CIE-LABlab(44.96, 52.26, -13.43)
CIE-LCHlch(44.96, 53.96, 345.59°)
OKLaboklab(54.68% 0.1581 -0.0354)
OKLCHoklch(54.68% 0.162 347.4)
XYZxyz(23.7681, 14.5110, 22.6639)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04082 #40B06E
analogous
#A640B0 #B04082 #B0404A
triadic
#B04082 #82B040 #4082B0
tetradic
#B04082 #B0A640 #40B06E #404AB0
square
#B04082 #B0A640 #40B06E #404AB0
split-complementary
#B04082 #4AB040 #40B0A6
monochromatic
#561F40 #833061 #B04082 #C7669F #D893BB

Accessibility & contrast

On white

5.38
#B04082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B04082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04082
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04082#FFFFFF#000000##FFFFFF
##B040821.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#6D717F
Tritanopia (blue-blind)
#BC3D5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b04082;
/* rgb */ color: rgb(176, 64, 130);
/* oklch */ color: oklch(54.7% 0.162 347.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ca6',
    500: '#b04082',
    950: '#000000',
  },
}
SCSS
$custom: #b04082;
$custom-light: #cb7ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#b04082",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 324.643,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.16197,
    "h": 347.4
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#B04082
secondary
#89C3A1
accent
#D68851
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B04082

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

Preview Lab → · Contrast checker → · Palette generator →

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