#B7406C#B7406C

#B7406C is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.0% C 0.158 H 1.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B7406C
RGBrgb(183, 64, 108)
HSLhsl(338, 48%, 48%)
HSVhsv(338, 65%, 72%)
CMYKcmyk(0%, 65%, 41%, 28.2%)
CIE-LABlab(45.39, 51.74, 0.79)
CIE-LCHlch(45.39, 51.75, 0.87°)
OKLaboklab(54.98% 0.1582 0.0027)
OKLCHoklch(54.98% 0.158 1)
XYZxyz(24.0702, 14.8196, 15.7774)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7406C #40B78B
analogous
#B740A7 #B7406C #B74F40
triadic
#B7406C #6CB740 #406CB7
tetradic
#B7406C #A7B740 #40B78B #4F40B7
square
#B7406C #A7B740 #40B78B #4F40B7
split-complementary
#B7406C #40B74F #40A7B7
monochromatic
#5C2036 #8A3051 #B7406C #CB698D #DB97B0

Accessibility & contrast

On white

5.30
#B7406C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B7406C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7406C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7406C#FFFFFF#000000##FFFFFF
##B7406C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575D6D
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#C63351
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b7406c;
/* rgb */ color: rgb(183, 64, 108);
/* oklch */ color: oklch(55.0% 0.158 1.0);
Tailwind
colors: {
  custom: {
    50: '#d17c96',
    500: '#b7406c',
    950: '#000000',
  },
}
SCSS
$custom: #b7406c;
$custom-light: #d17c96;
$custom-dark: #000000;
JSON
{
  "hex": "#b7406c",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 337.815,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.15822,
    "h": 1
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#B7406C
secondary
#8DC6B1
accent
#D8A650
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #B7406C

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

Preview Lab → · Contrast checker → · Palette generator →

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