#B7418E#B7418E

#B7418E is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.173 H 344.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B7418E
RGBrgb(183, 65, 142)
HSLhsl(321, 48%, 49%)
HSVhsv(321, 64%, 72%)
CMYKcmyk(0%, 64.5%, 22.4%, 28.2%)
CIE-LABlab(46.72, 55.50, -17.91)
CIE-LCHlch(46.72, 58.32, 342.12°)
OKLaboklab(56.35% 0.1668 -0.0477)
OKLCHoklch(56.35% 0.173 344)
XYZxyz(26.3021, 15.8034, 27.2511)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7418E #41B76A
analogous
#A541B7 #B7418E #B74153
triadic
#B7418E #8EB741 #418EB7
tetradic
#B7418E #B7A541 #41B76A #4153B7
square
#B7418E #B7A541 #41B76A #4153B7
split-complementary
#B7418E #53B741 #41B7A5
monochromatic
#5D2148 #8A316B #B7418E #CA6BA9 #DA98C3

Accessibility & contrast

On white

5.05
#B7418E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B7418E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7418E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7418E#FFFFFF#000000##FFFFFF
##B7418E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6290
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#C24062
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b7418e;
/* rgb */ color: rgb(183, 65, 142);
/* oklch */ color: oklch(56.3% 0.173 344.0);
Tailwind
colors: {
  custom: {
    50: '#d07daf',
    500: '#b7418e',
    950: '#000000',
  },
}
SCSS
$custom: #b7418e;
$custom-light: #d07daf;
$custom-dark: #000000;
JSON
{
  "hex": "#b7418e",
  "rgb": {
    "r": 183,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 320.847,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.17344,
    "h": 344
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#B7418E
secondary
#8EC6A1
accent
#D77F51
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B7418E

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

Preview Lab → · Contrast checker → · Palette generator →

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