#B04162#B04162

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

Color values

HEX#B04162
RGBrgb(176, 65, 98)
HSLhsl(342, 46%, 47%)
HSVhsv(342, 63%, 69%)
CMYKcmyk(0%, 63.1%, 44.3%, 31%)
CIE-LABlab(44.08, 48.03, 4.92)
CIE-LCHlch(44.08, 48.28, 5.84°)
OKLaboklab(53.69% 0.1464 0.0132)
OKLCHoklch(53.69% 0.147 5.1)
XYZxyz(22.0010, 13.8951, 13.0763)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04162 #41B08F
analogous
#B0419A #B04162 #B05741
triadic
#B04162 #62B041 #4162B0
tetradic
#B04162 #9AB041 #41B08F #5741B0
square
#B04162 #9AB041 #41B08F #5741B0
split-complementary
#B04162 #41B057 #419AB0
monochromatic
#572030 #833049 #B04162 #C76784 #D794A8

Accessibility & contrast

On white

5.56
#B04162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B04162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04162
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04162#FFFFFF#000000##FFFFFF
##B041621.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A63
Deuteranopia (green-blind)
#75705F
Tritanopia (blue-blind)
#BF334E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b04162;
/* rgb */ color: rgb(176, 65, 98);
/* oklch */ color: oklch(53.7% 0.147 5.1);
Tailwind
colors: {
  custom: {
    50: '#cc7b8e',
    500: '#b04162',
    950: '#000000',
  },
}
SCSS
$custom: #b04162;
$custom-light: #cc7b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b04162",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 342.162,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.14701,
    "h": 5.1
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#B04162
secondary
#8AC3B2
accent
#D6AF52
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #B04162

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

Preview Lab → · Contrast checker → · Palette generator →

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