#B95197#B95197

#B95197 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.0% C 0.157 H 342.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B95197
RGBrgb(185, 81, 151)
HSLhsl(320, 43%, 52%)
HSVhsv(320, 56%, 73%)
CMYKcmyk(0%, 56.2%, 18.4%, 27.5%)
CIE-LABlab(50.02, 50.23, -18.21)
CIE-LCHlch(50.02, 53.43, 340.08°)
OKLaboklab(58.96% 0.1493 -0.0486)
OKLCHoklch(58.96% 0.157 342)
XYZxyz(28.5365, 18.4359, 31.3277)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95197 #51B973
analogous
#A751B9 #B95197 #B95163
triadic
#B95197 #97B951 #5197B9
tetradic
#B95197 #B9A751 #51B973 #5163B9
square
#B95197 #B9A751 #51B973 #5163B9
split-complementary
#B95197 #63B951 #51B9A7
monochromatic
#662952 #923B76 #B95197 #CB7DB1 #DCA8CB

Accessibility & contrast

On white

4.48
#B95197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B95197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95197
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95197#FFFFFF#000000##000000
##B951971.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#586C99
Deuteranopia (green-blind)
#757D94
Tritanopia (blue-blind)
#C3526D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b95197;
/* rgb */ color: rgb(185, 81, 151);
/* oklch */ color: oklch(59.0% 0.157 342.0);
Tailwind
colors: {
  custom: {
    50: '#d187b5',
    500: '#b95197',
    950: '#000000',
  },
}
SCSS
$custom: #b95197;
$custom-light: #d187b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b95197",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 319.615,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.15702,
    "h": 342
  },
  "luminance": 0.18434
}

Semantic roles & 50–950 ramp

primary
#B95197
secondary
#9CCAAB
accent
#D27E55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #B95197

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

Preview Lab → · Contrast checker → · Palette generator →

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