#B31995#B31995

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

Color values

HEX#B31995
RGBrgb(179, 25, 149)
HSLhsl(312, 75%, 40%)
HSVhsv(312, 86%, 70%)
CMYKcmyk(0%, 86%, 16.8%, 29.8%)
CIE-LABlab(41.92, 67.94, -29.61)
CIE-LCHlch(41.92, 74.12, 336.45°)
OKLaboklab(52.84% 0.2019 -0.0805)
OKLCHoklch(52.84% 0.217 338.3)
XYZxyz(24.3635, 12.4514, 29.5482)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31995 #19B337
analogous
#8419B3 #B31995 #B31948
triadic
#B31995 #95B319 #1995B3
tetradic
#B31995 #B38419 #19B337 #1948B3
square
#B31995 #B38419 #19B337 #1948B3
split-complementary
#B31995 #48B319 #19B384
monochromatic
#480A3C #7D1268 #B31995 #E128BD #E85ECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31995#FFFFFF#000000##FFFFFF
##B319951.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)
#245498
Deuteranopia (green-blind)
#5B6B92
Tritanopia (blue-blind)
#BD2459
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31995;
/* rgb */ color: rgb(179, 25, 149);
/* oklch */ color: oklch(52.8% 0.217 338.3);
Tailwind
colors: {
  custom: {
    50: '#ce6db4',
    500: '#b31995',
    950: '#000000',
  },
}
SCSS
$custom: #b31995;
$custom-light: #ce6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#b31995",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 311.688,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.21738,
    "h": 338.3
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#B31995
secondary
#5BCC71
accent
#F25A36
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31995

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

Preview Lab → · Contrast checker → · Palette generator →

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