#B04262#B04262

#B04262 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.8% C 0.146 H 5.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B04262
RGBrgb(176, 66, 98)
HSLhsl(343, 45%, 47%)
HSVhsv(343, 63%, 69%)
CMYKcmyk(0%, 62.5%, 44.3%, 31%)
CIE-LABlab(44.25, 47.58, 5.15)
CIE-LCHlch(44.25, 47.85, 6.18°)
OKLaboklab(53.81% 0.145 0.0138)
OKLCHoklch(53.81% 0.146 5.4)
XYZxyz(22.0589, 14.0110, 13.0956)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04262 #42B090
analogous
#B04299 #B04262 #B05942
triadic
#B04262 #62B042 #4262B0
tetradic
#B04262 #99B042 #42B090 #5942B0
square
#B04262 #99B042 #42B090 #5942B0
split-complementary
#B04262 #42B059 #4299B0
monochromatic
#572130 #833149 #B04262 #C76984 #D795A8

Accessibility & contrast

On white

5.52
#B04262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B04262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04262
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04262#FFFFFF#000000##FFFFFF
##B042621.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585B63
Deuteranopia (green-blind)
#75715F
Tritanopia (blue-blind)
#BF344E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04262;
/* rgb */ color: rgb(176, 66, 98);
/* oklch */ color: oklch(53.8% 0.146 5.4);
Tailwind
colors: {
  custom: {
    50: '#cc7c8e',
    500: '#b04262',
    950: '#000000',
  },
}
SCSS
$custom: #b04262;
$custom-light: #cc7c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b04262",
  "rgb": {
    "r": 176,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 342.545,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.14565,
    "h": 5.4
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#B04262
secondary
#8BC3B3
accent
#D5AF53
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #B04262

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

Preview Lab → · Contrast checker → · Palette generator →

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