#B1407F#B1407F

#B1407F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.161 H 349.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B1407F
RGBrgb(177, 64, 127)
HSLhsl(327, 47%, 47%)
HSVhsv(327, 64%, 69%)
CMYKcmyk(0%, 63.8%, 28.2%, 30.6%)
CIE-LABlab(45.01, 52.16, -11.51)
CIE-LCHlch(45.01, 53.42, 347.56°)
OKLaboklab(54.71% 0.1583 -0.0301)
OKLCHoklch(54.71% 0.161 349.2)
XYZxyz(23.7967, 14.5486, 21.6295)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1407F #40B172
analogous
#AB40B1 #B1407F #B14046
triadic
#B1407F #7FB140 #407FB1
tetradic
#B1407F #B1AB40 #40B172 #4046B1
square
#B1407F #B1AB40 #40B172 #4046B1
split-complementary
#B1407F #46B140 #40B1AB
monochromatic
#571F3E #84305F #B1407F #C8669D #D893BA

Accessibility & contrast

On white

5.37
#B1407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B1407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1407F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1407F#FFFFFF#000000##FFFFFF
##B1407F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#6E727C
Tritanopia (blue-blind)
#BD3C5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b1407f;
/* rgb */ color: rgb(177, 64, 127);
/* oklch */ color: oklch(54.7% 0.161 349.2);
Tailwind
colors: {
  custom: {
    50: '#cc7ca4',
    500: '#b1407f',
    950: '#000000',
  },
}
SCSS
$custom: #b1407f;
$custom-light: #cc7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1407f",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 326.549,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.1611,
    "h": 349.2
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#B1407F
secondary
#89C3A3
accent
#D78C51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B1407F

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

Preview Lab → · Contrast checker → · Palette generator →

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