#B92798#B92798

#B92798 is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.8% C 0.211 H 339.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B92798
RGBrgb(185, 39, 152)
HSLhsl(314, 65%, 44%)
HSVhsv(314, 79%, 73%)
CMYKcmyk(0%, 78.9%, 17.8%, 27.5%)
CIE-LABlab(44.28, 66.40, -27.66)
CIE-LCHlch(44.28, 71.93, 337.38°)
OKLaboklab(54.78% 0.1978 -0.0749)
OKLCHoklch(54.78% 0.212 339.3)
XYZxyz(26.4013, 14.0350, 31.0183)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B92798 #27B948
analogous
#9127B9 #B92798 #B9274F
triadic
#B92798 #98B927 #2798B9
tetradic
#B92798 #B99127 #27B948 #274FB9
square
#B92798 #B99127 #27B948 #274FB9
split-complementary
#B92798 #4FB927 #27B991
monochromatic
#541245 #861C6E #B92798 #D845B7 #E378CA

Accessibility & contrast

On white

5.52
#B92798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B92798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B92798
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B92798#FFFFFF#000000##FFFFFF
##B927981.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#C42E5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b92798;
/* rgb */ color: rgb(185, 39, 152);
/* oklch */ color: oklch(54.8% 0.211 339.3);
Tailwind
colors: {
  custom: {
    50: '#d272b6',
    500: '#b92798',
    950: '#000000',
  },
}
SCSS
$custom: #b92798;
$custom-light: #d272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b92798",
  "rgb": {
    "r": 185,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 313.562,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.2115,
    "h": 339.3
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#B92798
secondary
#72CA86
accent
#E86640
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B92798

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

Preview Lab → · Contrast checker → · Palette generator →

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