#B0418B#B0418B

#B0418B is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.166 H 343.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B0418B
RGBrgb(176, 65, 139)
HSLhsl(320, 46%, 47%)
HSVhsv(320, 63%, 69%)
CMYKcmyk(0%, 63.1%, 21%, 31%)
CIE-LABlab(45.47, 53.08, -18.11)
CIE-LCHlch(45.47, 56.09, 341.16°)
OKLaboklab(55.17% 0.1589 -0.0483)
OKLCHoklch(55.17% 0.166 343.1)
XYZxyz(24.4557, 14.8770, 26.0047)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0418B #41B066
analogous
#9E41B0 #B0418B #B04154
triadic
#B0418B #8BB041 #418BB0
tetradic
#B0418B #B09E41 #41B066 #4154B0
square
#B0418B #B09E41 #41B066 #4154B0
split-complementary
#B0418B #54B041 #41B09E
monochromatic
#572044 #833068 #B0418B #C767A7 #D794C1

Accessibility & contrast

On white

5.28
#B0418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0418B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0418B#FFFFFF#000000##FFFFFF
##B0418B1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#6B7288
Tritanopia (blue-blind)
#BB4160
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b0418b;
/* rgb */ color: rgb(176, 65, 139);
/* oklch */ color: oklch(55.2% 0.166 343.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cad',
    500: '#b0418b',
    950: '#000000',
  },
}
SCSS
$custom: #b0418b;
$custom-light: #cb7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0418b",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 320,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.16611,
    "h": 343.1
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0418B

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

Preview Lab → · Contrast checker → · Palette generator →

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