#B1407E#B1407E

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

Color values

HEX#B1407E
RGBrgb(177, 64, 126)
HSLhsl(327, 47%, 47%)
HSVhsv(327, 64%, 69%)
CMYKcmyk(0%, 63.8%, 28.8%, 30.6%)
CIE-LABlab(44.97, 52.03, -10.95)
CIE-LCHlch(44.97, 53.17, 348.11°)
OKLaboklab(54.67% 0.158 -0.0286)
OKLCHoklch(54.67% 0.161 349.8)
XYZxyz(23.7318, 14.5227, 21.2880)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1407E #40B173
analogous
#AC40B1 #B1407E #B14045
triadic
#B1407E #7EB140 #407EB1
tetradic
#B1407E #B1AC40 #40B173 #4045B1
square
#B1407E #B1AC40 #40B173 #4045B1
split-complementary
#B1407E #45B140 #40B1AC
monochromatic
#571F3E #84305E #B1407E #C8669C #D893B9

Accessibility & contrast

On white

5.38
#B1407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B1407E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1407E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1407E#FFFFFF#000000##FFFFFF
##B1407E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1407e;
/* rgb */ color: rgb(177, 64, 126);
/* oklch */ color: oklch(54.7% 0.161 349.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ca3',
    500: '#b1407e',
    950: '#000000',
  },
}
SCSS
$custom: #b1407e;
$custom-light: #cc7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b1407e",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 327.08,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.16056,
    "h": 349.8
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#B1407E
secondary
#89C3A4
accent
#D78D51
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B1407E

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

Preview Lab → · Contrast checker → · Palette generator →

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