#B1427F#B1427F

#B1427F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.9% C 0.158 H 349.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B1427F
RGBrgb(177, 66, 127)
HSLhsl(327, 46%, 48%)
HSVhsv(327, 63%, 69%)
CMYKcmyk(0%, 62.7%, 28.2%, 30.6%)
CIE-LABlab(45.33, 51.29, -11.03)
CIE-LCHlch(45.33, 52.46, 347.87°)
OKLaboklab(54.95% 0.1556 -0.0288)
OKLCHoklch(54.95% 0.158 349.5)
XYZxyz(23.9115, 14.7783, 21.6678)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1427F #42B174
analogous
#AB42B1 #B1427F #B14247
triadic
#B1427F #7FB142 #427FB1
tetradic
#B1427F #B1AB42 #42B174 #4247B1
square
#B1427F #B1AB42 #42B174 #4247B1
split-complementary
#B1427F #47B142 #42B1AB
monochromatic
#58213F #84315F #B1427F #C7699D #D896BA

Accessibility & contrast

On white

5.31
#B1427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B1427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1427F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1427F#FFFFFF#000000##FFFFFF
##B1427F1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#6F727C
Tritanopia (blue-blind)
#BD3E5B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b1427f;
/* rgb */ color: rgb(177, 66, 127);
/* oklch */ color: oklch(54.9% 0.158 349.5);
Tailwind
colors: {
  custom: {
    50: '#cc7da4',
    500: '#b1427f',
    950: '#000000',
  },
}
SCSS
$custom: #b1427f;
$custom-light: #cc7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1427f",
  "rgb": {
    "r": 177,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 327.027,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.15822,
    "h": 349.5
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#B1427F
secondary
#8BC3A5
accent
#D58D52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B1427F

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

Preview Lab → · Contrast checker → · Palette generator →

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