#B8299E#B8299E

#B8299E is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.1% C 0.213 H 336.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B8299E
RGBrgb(184, 41, 158)
HSLhsl(311, 64%, 44%)
HSVhsv(311, 78%, 72%)
CMYKcmyk(0%, 77.7%, 14.1%, 27.8%)
CIE-LABlab(44.59, 66.45, -30.81)
CIE-LCHlch(44.59, 73.24, 335.13°)
OKLaboklab(55.06% 0.1958 -0.0839)
OKLCHoklch(55.06% 0.213 336.8)
XYZxyz(26.7322, 14.2474, 33.6833)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8299E #29B843
analogous
#8B29B8 #B8299E #B82957
triadic
#B8299E #9EB829 #299EB8
tetradic
#B8299E #B88B29 #29B843 #2957B8
square
#B8299E #B88B29 #29B843 #2957B8
split-complementary
#B8299E #57B829 #29B88B
monochromatic
#541348 #861E73 #B8299E #D648BC #E17ACF

Accessibility & contrast

On white

5.46
#B8299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B8299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8299E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8299E#FFFFFF#000000##FFFFFF
##B8299E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#C23362
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8299e;
/* rgb */ color: rgb(184, 41, 158);
/* oklch */ color: oklch(55.1% 0.213 336.8);
Tailwind
colors: {
  custom: {
    50: '#d173bb',
    500: '#b8299e',
    950: '#000000',
  },
}
SCSS
$custom: #b8299e;
$custom-light: #d173bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8299e",
  "rgb": {
    "r": 184,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 310.909,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.213,
    "h": 336.8
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#B8299E
secondary
#73C983
accent
#E75F41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B8299E

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

Preview Lab → · Contrast checker → · Palette generator →

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