#B7408F#B7408F

#B7408F is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.3% C 0.175 H 343.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B7408F
RGBrgb(183, 64, 143)
HSLhsl(320, 48%, 48%)
HSVhsv(320, 65%, 72%)
CMYKcmyk(0%, 65%, 21.9%, 28.2%)
CIE-LABlab(46.60, 56.06, -18.68)
CIE-LCHlch(46.60, 59.09, 341.57°)
OKLaboklab(56.28% 0.1682 -0.0498)
OKLCHoklch(56.28% 0.175 343.5)
XYZxyz(26.3206, 15.7198, 27.6293)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7408F #40B768
analogous
#A340B7 #B7408F #B74053
triadic
#B7408F #8FB740 #408FB7
tetradic
#B7408F #B7A340 #40B768 #4053B7
square
#B7408F #B7A340 #40B768 #4053B7
split-complementary
#B7408F #53B740 #40B7A3
monochromatic
#5C2048 #8A306C #B7408F #CB69AA #DB97C4

Accessibility & contrast

On white

5.07
#B7408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B7408F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7408F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7408F#FFFFFF#000000##FFFFFF
##B7408F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6291
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#C24062
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b7408f;
/* rgb */ color: rgb(183, 64, 143);
/* oklch */ color: oklch(56.3% 0.175 343.5);
Tailwind
colors: {
  custom: {
    50: '#d07db0',
    500: '#b7408f',
    950: '#000000',
  },
}
SCSS
$custom: #b7408f;
$custom-light: #d07db0;
$custom-dark: #000000;
JSON
{
  "hex": "#b7408f",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 320.168,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.17546,
    "h": 343.5
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#B7408F
secondary
#8DC6A0
accent
#D87E50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B7408F

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

Preview Lab → · Contrast checker → · Palette generator →

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