#B9318C#B9318C

#B9318C is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.194 H 344.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B9318C
RGBrgb(185, 49, 140)
HSLhsl(320, 58%, 46%)
HSVhsv(320, 74%, 73%)
CMYKcmyk(0%, 73.5%, 24.3%, 27.5%)
CIE-LABlab(44.81, 61.79, -19.59)
CIE-LCHlch(44.81, 64.82, 342.41°)
OKLaboklab(54.99% 0.1867 -0.0522)
OKLCHoklch(54.99% 0.194 344.4)
XYZxyz(25.8405, 14.4071, 26.2259)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9318C #31B95E
analogous
#A231B9 #B9318C #B93148
triadic
#B9318C #8CB931 #318CB9
tetradic
#B9318C #B9A231 #31B95E #3148B9
square
#B9318C #B9A231 #31B95E #3148B9
split-complementary
#B9318C #48B931 #31B9A2
monochromatic
#581743 #892467 #B9318C #D255A9 #DF86C1

Accessibility & contrast

On white

5.41
#B9318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B9318C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9318C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9318C#FFFFFF#000000##FFFFFF
##B9318C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8E
Deuteranopia (green-blind)
#6A7289
Tritanopia (blue-blind)
#C5305A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9318c;
/* rgb */ color: rgb(185, 49, 140);
/* oklch */ color: oklch(55.0% 0.194 344.4);
Tailwind
colors: {
  custom: {
    50: '#d276ad',
    500: '#b9318c',
    950: '#000000',
  },
}
SCSS
$custom: #b9318c;
$custom-light: #d276ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9318c",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 319.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.1939,
    "h": 344.4
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#B9318C
secondary
#7DC896
accent
#E17A46
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9318C

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

Preview Lab → · Contrast checker → · Palette generator →

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