#B0427F#B0427F

#B0427F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.157 H 349.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B0427F
RGBrgb(176, 66, 127)
HSLhsl(327, 45%, 47%)
HSVhsv(327, 63%, 69%)
CMYKcmyk(0%, 62.5%, 27.8%, 31%)
CIE-LABlab(45.17, 50.99, -11.29)
CIE-LCHlch(45.17, 52.22, 347.52°)
OKLaboklab(54.8% 0.1546 -0.0295)
OKLCHoklch(54.8% 0.157 349.2)
XYZxyz(23.6845, 14.6612, 21.6571)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0427F #42B073
analogous
#AA42B0 #B0427F #B04248
triadic
#B0427F #7FB042 #427FB0
tetradic
#B0427F #B0AA42 #42B073 #4248B0
square
#B0427F #B0AA42 #42B073 #4248B0
split-complementary
#B0427F #48B042 #42B0AA
monochromatic
#57213F #83315F #B0427F #C7699D #D795BA

Accessibility & contrast

On white

5.34
#B0427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B0427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0427F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0427F#FFFFFF#000000##FFFFFF
##B0427F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0427f;
/* rgb */ color: rgb(176, 66, 127);
/* oklch */ color: oklch(54.8% 0.157 349.2);
Tailwind
colors: {
  custom: {
    50: '#cb7da4',
    500: '#b0427f',
    950: '#000000',
  },
}
SCSS
$custom: #b0427f;
$custom-light: #cb7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0427f",
  "rgb": {
    "r": 176,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 326.727,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.15736,
    "h": 349.2
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#B0427F
secondary
#8BC3A4
accent
#D58D53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #B0427F

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

Preview Lab → · Contrast checker → · Palette generator →

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