#B95198#B95198

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

Color values

HEX#B95198
RGBrgb(185, 81, 152)
HSLhsl(319, 43%, 52%)
HSVhsv(319, 56%, 73%)
CMYKcmyk(0%, 56.2%, 17.8%, 27.5%)
CIE-LABlab(50.06, 50.38, -18.74)
CIE-LCHlch(50.06, 53.76, 339.60°)
OKLaboklab(59% 0.1495 -0.0501)
OKLCHoklch(59% 0.158 341.5)
XYZxyz(28.6181, 18.4685, 31.7572)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95198 #51B972
analogous
#A651B9 #B95198 #B95164
triadic
#B95198 #98B951 #5198B9
tetradic
#B95198 #B9A651 #51B972 #5164B9
square
#B95198 #B9A651 #51B972 #5164B9
split-complementary
#B95198 #64B951 #51B9A6
monochromatic
#662953 #923B76 #B95198 #CB7DB2 #DCA8CC

Accessibility & contrast

On white

4.47
#B95198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B95198#FFFFFF#000000##000000
##B951981.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#576C9A
Deuteranopia (green-blind)
#757D95
Tritanopia (blue-blind)
#C3526E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b95198;
/* rgb */ color: rgb(185, 81, 152);
/* oklch */ color: oklch(59.0% 0.158 341.5);
Tailwind
colors: {
  custom: {
    50: '#d187b6',
    500: '#b95198',
    950: '#000000',
  },
}
SCSS
$custom: #b95198;
$custom-light: #d187b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b95198",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 319.038,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.15772,
    "h": 341.5
  },
  "luminance": 0.18466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B95198

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

Preview Lab → · Contrast checker → · Palette generator →

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