#B31695#B31695

#B31695 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.7% C 0.219 H 338.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B31695
RGBrgb(179, 22, 149)
HSLhsl(311, 78%, 39%)
HSVhsv(311, 88%, 70%)
CMYKcmyk(0%, 87.7%, 16.8%, 29.8%)
CIE-LABlab(41.74, 68.49, -29.91)
CIE-LCHlch(41.74, 74.74, 336.41°)
OKLaboklab(52.71% 0.2036 -0.0814)
OKLCHoklch(52.71% 0.219 338.2)
XYZxyz(24.3028, 12.3299, 29.5280)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31695 #16B334
analogous
#8316B3 #B31695 #B31647
triadic
#B31695 #95B316 #1695B3
tetradic
#B31695 #B38316 #16B334 #1647B3
square
#B31695 #B38316 #16B334 #1647B3
split-complementary
#B31695 #47B316 #16B383
monochromatic
#46093A #7C0F68 #B31695 #E422BF #EB59CF

Accessibility & contrast

On white

6.06
#B31695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B31695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31695
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31695#FFFFFF#000000##FFFFFF
##B316951.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215498
Deuteranopia (green-blind)
#5B6B92
Tritanopia (blue-blind)
#BD2359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b31695;
/* rgb */ color: rgb(179, 22, 149);
/* oklch */ color: oklch(52.7% 0.219 338.2);
Tailwind
colors: {
  custom: {
    50: '#ce6cb4',
    500: '#b31695',
    950: '#000000',
  },
}
SCSS
$custom: #b31695;
$custom-light: #ce6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#b31695",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 149
  },
  "hsl": {
    "h": 311.465,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.21923,
    "h": 338.2
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#B31695
secondary
#57CE6E
accent
#F55833
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31695

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

Preview Lab → · Contrast checker → · Palette generator →

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