#B3418F#B3418F

#B3418F is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.171 H 342.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B3418F
RGBrgb(179, 65, 143)
HSLhsl(319, 47%, 48%)
HSVhsv(319, 64%, 70%)
CMYKcmyk(0%, 63.7%, 20.1%, 29.8%)
CIE-LABlab(46.11, 54.51, -19.50)
CIE-LCHlch(46.11, 57.89, 340.32°)
OKLaboklab(55.79% 0.1629 -0.0522)
OKLCHoklch(55.79% 0.171 342.2)
XYZxyz(25.4393, 15.3498, 27.6043)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3418F #41B365
analogous
#9E41B3 #B3418F #B34156
triadic
#B3418F #8FB341 #418FB3
tetradic
#B3418F #B39E41 #41B365 #4156B3
square
#B3418F #B39E41 #41B365 #4156B3
split-complementary
#B3418F #56B341 #41B39E
monochromatic
#592047 #86316B #B3418F #C869AA #D996C4

Accessibility & contrast

On white

5.16
#B3418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B3418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3418F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3418F#FFFFFF#000000##FFFFFF
##B3418F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#6B748C
Tritanopia (blue-blind)
#BE4262
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b3418f;
/* rgb */ color: rgb(179, 65, 143);
/* oklch */ color: oklch(55.8% 0.171 342.2);
Tailwind
colors: {
  custom: {
    50: '#cd7db0',
    500: '#b3418f',
    950: '#000000',
  },
}
SCSS
$custom: #b3418f;
$custom-light: #cd7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3418f",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 318.947,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.17104,
    "h": 342.2
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#B3418F
secondary
#8BC49D
accent
#D67B51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B3418F

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

Preview Lab → · Contrast checker → · Palette generator →

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