#B8299F#B8299F

#B8299F is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.1% C 0.214 H 336.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B8299F
RGBrgb(184, 41, 159)
HSLhsl(310, 64%, 44%)
HSVhsv(310, 78%, 72%)
CMYKcmyk(0%, 77.7%, 13.6%, 27.8%)
CIE-LABlab(44.63, 66.59, -31.33)
CIE-LCHlch(44.63, 73.59, 334.81°)
OKLaboklab(55.11% 0.1959 -0.0854)
OKLCHoklch(55.11% 0.214 336.4)
XYZxyz(26.8186, 14.2819, 34.1384)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8299F #29B842
analogous
#8A29B8 #B8299F #B82957
triadic
#B8299F #9FB829 #299FB8
tetradic
#B8299F #B88A29 #29B842 #2957B8
square
#B8299F #B88A29 #29B842 #2957B8
split-complementary
#B8299F #57B829 #29B88A
monochromatic
#541349 #861E74 #B8299F #D648BD #E17ACF

Accessibility & contrast

On white

5.45
#B8299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B8299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8299F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8299F#FFFFFF#000000##FFFFFF
##B8299F1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#60719C
Tritanopia (blue-blind)
#C23462
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8299f;
/* rgb */ color: rgb(184, 41, 159);
/* oklch */ color: oklch(55.1% 0.214 336.4);
Tailwind
colors: {
  custom: {
    50: '#d173bb',
    500: '#b8299f',
    950: '#000000',
  },
}
SCSS
$custom: #b8299f;
$custom-light: #d173bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8299f",
  "rgb": {
    "r": 184,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 310.49,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55111,
    "c": 0.21367,
    "h": 336.4
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#B8299F
secondary
#73C982
accent
#E75E41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B8299F

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

Preview Lab → · Contrast checker → · Palette generator →

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