#B8299D#B8299D

#B8299D is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.0% C 0.212 H 337.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B8299D
RGBrgb(184, 41, 157)
HSLhsl(311, 64%, 44%)
HSVhsv(311, 78%, 72%)
CMYKcmyk(0%, 77.7%, 14.7%, 27.8%)
CIE-LABlab(44.54, 66.31, -30.28)
CIE-LCHlch(44.54, 72.90, 335.45°)
OKLaboklab(55.01% 0.1957 -0.0824)
OKLCHoklch(55.01% 0.212 337.2)
XYZxyz(26.6464, 14.2131, 33.2318)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8299D #29B844
analogous
#8C29B8 #B8299D #B82955
triadic
#B8299D #9DB829 #299DB8
tetradic
#B8299D #B88C29 #29B844 #2955B8
square
#B8299D #B88C29 #29B844 #2955B8
split-complementary
#B8299D #55B829 #29B88C
monochromatic
#541348 #861E72 #B8299D #D648BB #E17ACE

Accessibility & contrast

On white

5.47
#B8299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B8299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8299D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8299D#FFFFFF#000000##FFFFFF
##B8299D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5BA0
Deuteranopia (green-blind)
#61719A
Tritanopia (blue-blind)
#C23361
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8299d;
/* rgb */ color: rgb(184, 41, 157);
/* oklch */ color: oklch(55.0% 0.212 337.2);
Tailwind
colors: {
  custom: {
    50: '#d173ba',
    500: '#b8299d',
    950: '#000000',
  },
}
SCSS
$custom: #b8299d;
$custom-light: #d173ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b8299d",
  "rgb": {
    "r": 184,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 311.329,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.21234,
    "h": 337.2
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#B8299D
secondary
#73C984
accent
#E76041
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8299D

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

Preview Lab → · Contrast checker → · Palette generator →

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