#B31C90#B31C90

#B31C90 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.7% C 0.212 H 340.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B31C90
RGBrgb(179, 28, 144)
HSLhsl(314, 73%, 41%)
HSVhsv(314, 84%, 70%)
CMYKcmyk(0%, 84.4%, 19.6%, 29.8%)
CIE-LABlab(41.89, 66.67, -26.63)
CIE-LCHlch(41.89, 71.79, 338.23°)
OKLaboklab(52.74% 0.1996 -0.072)
OKLCHoklch(52.74% 0.212 340.2)
XYZxyz(24.0405, 12.4304, 27.5134)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C90 #1CB33F
analogous
#8A1CB3 #B31C90 #B31C45
triadic
#B31C90 #90B31C #1C90B3
tetradic
#B31C90 #B38A1C #1CB33F #1C45B3
square
#B31C90 #B38A1C #1CB33F #1C45B3
split-complementary
#B31C90 #45B31C #1CB38A
monochromatic
#490B3B #7E1465 #B31C90 #DE2EB5 #E763C8

Accessibility & contrast

On white

6.02
#B31C90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B31C90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C90
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C90#FFFFFF#000000##FFFFFF
##B31C901.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5493
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#BE2357
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31c90;
/* rgb */ color: rgb(179, 28, 144);
/* oklch */ color: oklch(52.7% 0.212 340.2);
Tailwind
colors: {
  custom: {
    50: '#ce6eb1',
    500: '#b31c90',
    950: '#000000',
  },
}
SCSS
$custom: #b31c90;
$custom-light: #ce6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c90",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 313.907,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.21221,
    "h": 340.2
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#B31C90
secondary
#5FCB78
accent
#F06338
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140810
muted
#837B7F

Preview Lab

Preview with #B31C90

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

Preview Lab → · Contrast checker → · Palette generator →

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