#B31A65#B31A65

#B31A65 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.192 H 358.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B31A65
RGBrgb(179, 26, 101)
HSLhsl(331, 75%, 40%)
HSVhsv(331, 85%, 70%)
CMYKcmyk(0%, 85.5%, 43.6%, 29.8%)
CIE-LABlab(40.02, 62.27, -2.80)
CIE-LCHlch(40.02, 62.34, 357.43°)
OKLaboklab(50.83% 0.1919 -0.0066)
OKLCHoklch(50.83% 0.192 358)
XYZxyz(21.3105, 11.2650, 13.3616)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A65 #1AB368
analogous
#B31AB2 #B31A65 #B31B1A
triadic
#B31A65 #65B31A #1A65B3
tetradic
#B31A65 #B2B31A #1AB368 #1B1AB3
square
#B31A65 #B2B31A #1AB368 #1B1AB3
split-complementary
#B31A65 #1AB31B #1AB2B3
monochromatic
#480A29 #7E1247 #B31A65 #E02A83 #E860A2

Accessibility & contrast

On white

6.46
#B31A65 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B31A65 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A65
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A65#FFFFFF#000000##FFFFFF
##B31A651.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414C67
Deuteranopia (green-blind)
#6A6862
Tritanopia (blue-blind)
#C2003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31a65;
/* rgb */ color: rgb(179, 26, 101);
/* oklch */ color: oklch(50.8% 0.192 358.0);
Tailwind
colors: {
  custom: {
    50: '#d06b90',
    500: '#b31a65',
    950: '#000000',
  },
}
SCSS
$custom: #b31a65;
$custom-light: #d06b90;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a65",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 330.588,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.19198,
    "h": 358
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#B31A65
secondary
#5DCC95
accent
#F19637
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31A65

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

Preview Lab → · Contrast checker → · Palette generator →

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