#B3418B#B3418B

#B3418B is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.168 H 344.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B3418B
RGBrgb(179, 65, 139)
HSLhsl(321, 47%, 48%)
HSVhsv(321, 64%, 70%)
CMYKcmyk(0%, 63.7%, 22.3%, 29.8%)
CIE-LABlab(45.95, 53.94, -17.33)
CIE-LCHlch(45.95, 56.66, 342.19°)
OKLaboklab(55.62% 0.162 -0.0461)
OKLCHoklch(55.62% 0.168 344.1)
XYZxyz(25.1417, 15.2308, 26.0368)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3418B #41B369
analogous
#A241B3 #B3418B #B34152
triadic
#B3418B #8BB341 #418BB3
tetradic
#B3418B #B3A241 #41B369 #4152B3
square
#B3418B #B3A241 #41B369 #4152B3
split-complementary
#B3418B #52B341 #41B3A2
monochromatic
#592045 #863168 #B3418B #C869A7 #D996C1

Accessibility & contrast

On white

5.19
#B3418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B3418B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3418B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3418B#FFFFFF#000000##FFFFFF
##B3418B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#BE4060
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b3418b;
/* rgb */ color: rgb(179, 65, 139);
/* oklch */ color: oklch(55.6% 0.168 344.1);
Tailwind
colors: {
  custom: {
    50: '#cd7dad',
    500: '#b3418b',
    950: '#000000',
  },
}
SCSS
$custom: #b3418b;
$custom-light: #cd7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3418b",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 321.053,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.16845,
    "h": 344.1
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#B3418B
secondary
#8BC49F
accent
#D68051
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B3418B

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

Preview Lab → · Contrast checker → · Palette generator →

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