#B95298#B95298

#B95298 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.1% C 0.156 H 341.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B95298
RGBrgb(185, 82, 152)
HSLhsl(319, 42%, 52%)
HSVhsv(319, 56%, 73%)
CMYKcmyk(0%, 55.7%, 17.8%, 27.5%)
CIE-LABlab(50.24, 49.91, -18.47)
CIE-LCHlch(50.24, 53.22, 339.69°)
OKLaboklab(59.13% 0.1481 -0.0494)
OKLCHoklch(59.13% 0.156 341.6)
XYZxyz(28.6929, 18.6182, 31.7822)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95298 #52B973
analogous
#A652B9 #B95298 #B95265
triadic
#B95298 #98B952 #5298B9
tetradic
#B95298 #B9A652 #52B973 #5265B9
square
#B95298 #B9A652 #52B973 #5265B9
split-complementary
#B95298 #65B952 #52B9A6
monochromatic
#672A53 #933B77 #B95298 #CB7EB2 #DCA9CC

Accessibility & contrast

On white

4.45
#B95298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B95298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95298
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95298#FFFFFF#000000##000000
##B952981.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#757E95
Tritanopia (blue-blind)
#C3536E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b95298;
/* rgb */ color: rgb(185, 82, 152);
/* oklch */ color: oklch(59.1% 0.156 341.6);
Tailwind
colors: {
  custom: {
    50: '#d187b6',
    500: '#b95298',
    950: '#000000',
  },
}
SCSS
$custom: #b95298;
$custom-light: #d187b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b95298",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 319.223,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.15613,
    "h": 341.6
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#B95298
secondary
#9DCAAB
accent
#D27E56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #B95298

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

Preview Lab → · Contrast checker → · Palette generator →

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