#B04062#B04062

#B04062 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.6% C 0.148 H 4.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B04062
RGBrgb(176, 64, 98)
HSLhsl(342, 47%, 47%)
HSVhsv(342, 64%, 69%)
CMYKcmyk(0%, 63.6%, 44.3%, 31%)
CIE-LABlab(43.92, 48.47, 4.68)
CIE-LCHlch(43.92, 48.69, 5.51°)
OKLaboklab(53.57% 0.1478 0.0126)
OKLCHoklch(53.57% 0.148 4.9)
XYZxyz(21.9441, 13.7814, 13.0574)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04062 #40B08E
analogous
#B0409A #B04062 #B05640
triadic
#B04062 #62B040 #4062B0
tetradic
#B04062 #9AB040 #40B08E #5640B0
square
#B04062 #9AB040 #40B08E #5640B0
split-complementary
#B04062 #40B056 #409AB0
monochromatic
#561F30 #833049 #B04062 #C76683 #D893A8

Accessibility & contrast

On white

5.59
#B04062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B04062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04062
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04062#FFFFFF#000000##FFFFFF
##B040621.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A63
Deuteranopia (green-blind)
#74705F
Tritanopia (blue-blind)
#BF324D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b04062;
/* rgb */ color: rgb(176, 64, 98);
/* oklch */ color: oklch(53.6% 0.148 4.9);
Tailwind
colors: {
  custom: {
    50: '#cc7b8e',
    500: '#b04062',
    950: '#000000',
  },
}
SCSS
$custom: #b04062;
$custom-light: #cc7b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b04062",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 341.786,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53567,
    "c": 0.14835,
    "h": 4.9
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#B04062
secondary
#89C3B1
accent
#D6AE51
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #B04062

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

Preview Lab → · Contrast checker → · Palette generator →

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