#B3298B#B3298B

#B3298B is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.198 H 342.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B3298B
RGBrgb(179, 41, 139)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 77%, 70%)
CMYKcmyk(0%, 77.1%, 22.3%, 29.8%)
CIE-LABlab(42.82, 62.70, -22.14)
CIE-LCHlch(42.82, 66.50, 340.55°)
OKLaboklab(53.33% 0.1888 -0.0594)
OKLCHoklch(53.33% 0.198 342.5)
XYZxyz(24.0444, 13.0362, 25.6711)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3298B #29B351
analogous
#9629B3 #B3298B #B32946
triadic
#B3298B #8BB329 #298BB3
tetradic
#B3298B #B39629 #29B351 #2946B3
square
#B3298B #B39629 #29B351 #2946B3
split-complementary
#B3298B #46B329 #29B396
monochromatic
#4F123E #811E64 #B3298B #D445AB #E077C1

Accessibility & contrast

On white

5.82
#B3298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B3298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3298B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3298B#FFFFFF#000000##FFFFFF
##B3298B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#BF2A57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3298b;
/* rgb */ color: rgb(179, 41, 139);
/* oklch */ color: oklch(53.3% 0.198 342.5);
Tailwind
colors: {
  custom: {
    50: '#ce72ad',
    500: '#b3298b',
    950: '#000000',
  },
}
SCSS
$custom: #b3298b;
$custom-light: #ce72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3298b",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 317.391,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.19792,
    "h": 342.5
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#B3298B
secondary
#70C78A
accent
#E67142
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3298B

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

Preview Lab → · Contrast checker → · Palette generator →

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