#B3298A#B3298A

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

Color values

HEX#B3298A
RGBrgb(179, 41, 138)
HSLhsl(318, 63%, 43%)
HSVhsv(318, 77%, 70%)
CMYKcmyk(0%, 77.1%, 22.9%, 29.8%)
CIE-LABlab(42.77, 62.57, -21.60)
CIE-LCHlch(42.77, 66.19, 340.95°)
OKLaboklab(53.29% 0.1886 -0.0579)
OKLCHoklch(53.29% 0.197 342.9)
XYZxyz(23.9717, 13.0071, 25.2880)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3298A #29B352
analogous
#9729B3 #B3298A #B32945
triadic
#B3298A #8AB329 #298AB3
tetradic
#B3298A #B39729 #29B352 #2945B3
square
#B3298A #B39729 #29B352 #2945B3
split-complementary
#B3298A #45B329 #29B397
monochromatic
#4F123D #811E64 #B3298A #D445AA #E077C1

Accessibility & contrast

On white

5.83
#B3298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B3298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3298A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3298A#FFFFFF#000000##FFFFFF
##B3298A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#BF2A57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3298a;
/* rgb */ color: rgb(179, 41, 138);
/* oklch */ color: oklch(53.3% 0.197 342.9);
Tailwind
colors: {
  custom: {
    50: '#ce72ac',
    500: '#b3298a',
    950: '#000000',
  },
}
SCSS
$custom: #b3298a;
$custom-light: #ce72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3298a",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 317.826,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.19731,
    "h": 342.9
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3298A

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

Preview Lab → · Contrast checker → · Palette generator →

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