#B93797#B93797

#B93797 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.0% C 0.194 H 340.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B93797
RGBrgb(185, 55, 151)
HSLhsl(316, 54%, 47%)
HSVhsv(316, 70%, 73%)
CMYKcmyk(0%, 70.3%, 18.4%, 27.5%)
CIE-LABlab(46.02, 61.19, -24.36)
CIE-LCHlch(46.02, 65.87, 338.29°)
OKLaboklab(56.02% 0.1823 -0.0657)
OKLCHoklch(56.02% 0.194 340.2)
XYZxyz(26.9604, 15.2836, 30.8023)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93797 #37B959
analogous
#9A37B9 #B93797 #B93756
triadic
#B93797 #97B937 #3797B9
tetradic
#B93797 #B99A37 #37B959 #3756B9
square
#B93797 #B99A37 #37B959 #3756B9
split-complementary
#B93797 #56B937 #37B99A
monochromatic
#5B1B4A #8A2970 #B93797 #CF5EB2 #DD8DC8

Accessibility & contrast

On white

5.18
#B93797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B93797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B93797
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93797#FFFFFF#000000##FFFFFF
##B937971.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#697494
Tritanopia (blue-blind)
#C43B62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b93797;
/* rgb */ color: rgb(185, 55, 151);
/* oklch */ color: oklch(56.0% 0.194 340.2);
Tailwind
colors: {
  custom: {
    50: '#d279b6',
    500: '#b93797',
    950: '#000000',
  },
}
SCSS
$custom: #b93797;
$custom-light: #d279b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b93797",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 315.692,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.19378,
    "h": 340.2
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#B93797
secondary
#84C896
accent
#DE714A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #B93797

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

Preview Lab → · Contrast checker → · Palette generator →

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