#B0407E#B0407E

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

Color values

HEX#B0407E
RGBrgb(176, 64, 126)
HSLhsl(327, 47%, 47%)
HSVhsv(327, 64%, 69%)
CMYKcmyk(0%, 63.6%, 28.4%, 31%)
CIE-LABlab(44.81, 51.73, -11.22)
CIE-LCHlch(44.81, 52.93, 347.77°)
OKLaboklab(54.52% 0.157 -0.0293)
OKLCHoklch(54.52% 0.16 349.4)
XYZxyz(23.5048, 14.4057, 21.2773)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0407E #40B072
analogous
#AA40B0 #B0407E #B04046
triadic
#B0407E #7EB040 #407EB0
tetradic
#B0407E #B0AA40 #40B072 #4046B0
square
#B0407E #B0AA40 #40B072 #4046B0
split-complementary
#B0407E #46B040 #40B0AA
monochromatic
#561F3E #83305E #B0407E #C7669C #D893B9

Accessibility & contrast

On white

5.41
#B0407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0407E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0407E#FFFFFF#000000##FFFFFF
##B0407E1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E80
Deuteranopia (green-blind)
#6E717B
Tritanopia (blue-blind)
#BC3C59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b0407e;
/* rgb */ color: rgb(176, 64, 126);
/* oklch */ color: oklch(54.5% 0.160 349.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ca3',
    500: '#b0407e',
    950: '#000000',
  },
}
SCSS
$custom: #b0407e;
$custom-light: #cb7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b0407e",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 326.786,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.1597,
    "h": 349.4
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0407E

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

Preview Lab → · Contrast checker → · Palette generator →

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