#B0407D#B0407D

#B0407D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.159 H 349.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B0407D
RGBrgb(176, 64, 125)
HSLhsl(327, 47%, 47%)
HSVhsv(327, 64%, 69%)
CMYKcmyk(0%, 63.6%, 29%, 31%)
CIE-LABlab(44.77, 51.60, -10.66)
CIE-LCHlch(44.77, 52.69, 348.33°)
OKLaboklab(54.48% 0.1567 -0.0278)
OKLCHoklch(54.48% 0.159 349.9)
XYZxyz(23.4406, 14.3800, 20.9392)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0407D #40B073
analogous
#AB40B0 #B0407D #B04045
triadic
#B0407D #7DB040 #407DB0
tetradic
#B0407D #B0AB40 #40B073 #4045B0
square
#B0407D #B0AB40 #40B073 #4045B0
split-complementary
#B0407D #45B040 #40B0AB
monochromatic
#561F3D #83305D #B0407D #C7669B #D893B8

Accessibility & contrast

On white

5.42
#B0407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B0407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0407D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0407D#FFFFFF#000000##FFFFFF
##B0407D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7F
Deuteranopia (green-blind)
#6E717A
Tritanopia (blue-blind)
#BC3B59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b0407d;
/* rgb */ color: rgb(176, 64, 125);
/* oklch */ color: oklch(54.5% 0.159 349.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ca2',
    500: '#b0407d',
    950: '#000000',
  },
}
SCSS
$custom: #b0407d;
$custom-light: #cb7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#b0407d",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 327.321,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.15915,
    "h": 349.9
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#B0407D
secondary
#89C3A3
accent
#D68E51
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B0407D

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

Preview Lab → · Contrast checker → · Palette generator →

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