#B3298E#B3298E

#B3298E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.5% C 0.200 H 341.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B3298E
RGBrgb(179, 41, 142)
HSLhsl(316, 63%, 43%)
HSVhsv(316, 77%, 70%)
CMYKcmyk(0%, 77.1%, 20.7%, 29.8%)
CIE-LABlab(42.95, 63.10, -23.76)
CIE-LCHlch(42.95, 67.42, 339.36°)
OKLaboklab(53.47% 0.1893 -0.064)
OKLCHoklch(53.47% 0.2 341.3)
XYZxyz(24.2666, 13.1251, 26.8414)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3298E #29B34E
analogous
#9329B3 #B3298E #B32949
triadic
#B3298E #8EB329 #298EB3
tetradic
#B3298E #B39329 #29B34E #2949B3
square
#B3298E #B39329 #29B34E #2949B3
split-complementary
#B3298E #49B329 #29B393
monochromatic
#4F123F #811E66 #B3298E #D445AE #E077C4

Accessibility & contrast

On white

5.79
#B3298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B3298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3298E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3298E#FFFFFF#000000##FFFFFF
##B3298E1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365791
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#BE2C59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3298e;
/* rgb */ color: rgb(179, 41, 142);
/* oklch */ color: oklch(53.5% 0.200 341.3);
Tailwind
colors: {
  custom: {
    50: '#ce72af',
    500: '#b3298e',
    950: '#000000',
  },
}
SCSS
$custom: #b3298e;
$custom-light: #ce72af;
$custom-dark: #000000;
JSON
{
  "hex": "#b3298e",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 316.087,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53473,
    "c": 0.19977,
    "h": 341.3
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#B3298E
secondary
#70C788
accent
#E66E42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3298E

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

Preview Lab → · Contrast checker → · Palette generator →

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