#B3299C#B3299C

#B3299C is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.2% C 0.209 H 336.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B3299C
RGBrgb(179, 41, 156)
HSLhsl(310, 63%, 43%)
HSVhsv(310, 77%, 70%)
CMYKcmyk(0%, 77.1%, 12.8%, 29.8%)
CIE-LABlab(43.61, 65.04, -31.19)
CIE-LCHlch(43.61, 72.13, 334.38°)
OKLaboklab(54.17% 0.1908 -0.0851)
OKLCHoklch(54.17% 0.209 336)
XYZxyz(25.3845, 13.5722, 32.7288)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3299C #29B340
analogous
#8529B3 #B3299C #B32957
triadic
#B3299C #9CB329 #299CB3
tetradic
#B3299C #B38529 #29B340 #2957B3
square
#B3299C #B38529 #29B340 #2957B3
split-complementary
#B3299C #57B329 #29B385
monochromatic
#4F1245 #811E71 #B3299C #D445BC #E077CE

Accessibility & contrast

On white

5.65
#B3299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B3299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3299C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3299C#FFFFFF#000000##FFFFFF
##B3299C1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9F
Deuteranopia (green-blind)
#5D6E99
Tritanopia (blue-blind)
#BC3461
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3299c;
/* rgb */ color: rgb(179, 41, 156);
/* oklch */ color: oklch(54.2% 0.209 336.0);
Tailwind
colors: {
  custom: {
    50: '#ce72b9',
    500: '#b3299c',
    950: '#000000',
  },
}
SCSS
$custom: #b3299c;
$custom-light: #ce72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b3299c",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 310,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.20894,
    "h": 336
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#B3299C
secondary
#70C77F
accent
#E65D42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B3299C

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

Preview Lab → · Contrast checker → · Palette generator →

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