#B0418A#B0418A

#B0418A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.165 H 343.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B0418A
RGBrgb(176, 65, 138)
HSLhsl(321, 46%, 47%)
HSVhsv(321, 63%, 69%)
CMYKcmyk(0%, 63.1%, 21.6%, 31%)
CIE-LABlab(45.43, 52.94, -17.57)
CIE-LCHlch(45.43, 55.78, 341.64°)
OKLaboklab(55.13% 0.1587 -0.0468)
OKLCHoklch(55.13% 0.165 343.6)
XYZxyz(24.3830, 14.8480, 25.6216)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0418A #41B067
analogous
#9F41B0 #B0418A #B04152
triadic
#B0418A #8AB041 #418AB0
tetradic
#B0418A #B09F41 #41B067 #4152B0
square
#B0418A #B09F41 #41B067 #4152B0
split-complementary
#B0418A #52B041 #41B09F
monochromatic
#572044 #833067 #B0418A #C767A6 #D794C0

Accessibility & contrast

On white

5.29
#B0418A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B0418A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0418A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0418A#FFFFFF#000000##FFFFFF
##B0418A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#6B7287
Tritanopia (blue-blind)
#BB4160
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b0418a;
/* rgb */ color: rgb(176, 65, 138);
/* oklch */ color: oklch(55.1% 0.165 343.6);
Tailwind
colors: {
  custom: {
    50: '#cb7cac',
    500: '#b0418a',
    950: '#000000',
  },
}
SCSS
$custom: #b0418a;
$custom-light: #cb7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0418a",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 320.541,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.16547,
    "h": 343.6
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#B0418A
secondary
#8AC39D
accent
#D67F52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B0418A

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

Preview Lab → · Contrast checker → · Palette generator →

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