#B9299D#B9299D

#B9299D is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.2% C 0.213 H 337.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B9299D
RGBrgb(185, 41, 157)
HSLhsl(312, 64%, 44%)
HSVhsv(312, 78%, 73%)
CMYKcmyk(0%, 77.8%, 15.1%, 27.5%)
CIE-LABlab(44.71, 66.53, -30.00)
CIE-LCHlch(44.71, 72.98, 335.73°)
OKLaboklab(55.17% 0.1966 -0.0816)
OKLCHoklch(55.17% 0.213 337.5)
XYZxyz(26.8869, 14.3371, 33.2431)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9299D #29B945
analogous
#8D29B9 #B9299D #B92955
triadic
#B9299D #9DB929 #299DB9
tetradic
#B9299D #B98D29 #29B945 #2955B9
square
#B9299D #B98D29 #29B945 #2955B9
split-complementary
#B9299D #55B929 #29B98D
monochromatic
#551348 #871E72 #B9299D #D749BB #E27BCE

Accessibility & contrast

On white

5.43
#B9299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B9299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9299D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9299D#FFFFFF#000000##FFFFFF
##B9299D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#61729A
Tritanopia (blue-blind)
#C33261
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9299d;
/* rgb */ color: rgb(185, 41, 157);
/* oklch */ color: oklch(55.2% 0.213 337.5);
Tailwind
colors: {
  custom: {
    50: '#d273ba',
    500: '#b9299d',
    950: '#000000',
  },
}
SCSS
$custom: #b9299d;
$custom-light: #d273ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b9299d",
  "rgb": {
    "r": 185,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 311.667,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.21289,
    "h": 337.5
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#B9299D
secondary
#74CA85
accent
#E76141
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B9299D

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

Preview Lab → · Contrast checker → · Palette generator →

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