#B3298C#B3298C

#B3298C is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.199 H 342.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B3298C
RGBrgb(179, 41, 140)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 77%, 70%)
CMYKcmyk(0%, 77.1%, 21.8%, 29.8%)
CIE-LABlab(42.86, 62.83, -22.69)
CIE-LCHlch(42.86, 66.80, 340.15°)
OKLaboklab(53.38% 0.189 -0.0609)
OKLCHoklch(53.38% 0.199 342.1)
XYZxyz(24.1178, 13.0656, 26.0576)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3298C #29B350
analogous
#9529B3 #B3298C #B32947
triadic
#B3298C #8CB329 #298CB3
tetradic
#B3298C #B39529 #29B350 #2947B3
square
#B3298C #B39529 #29B350 #2947B3
split-complementary
#B3298C #47B329 #29B395
monochromatic
#4F123E #811E65 #B3298C #D445AC #E077C2

Accessibility & contrast

On white

5.81
#B3298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3298C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3298C#FFFFFF#000000##FFFFFF
##B3298C1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#BE2B58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3298c;
/* rgb */ color: rgb(179, 41, 140);
/* oklch */ color: oklch(53.4% 0.199 342.1);
Tailwind
colors: {
  custom: {
    50: '#ce72ae',
    500: '#b3298c',
    950: '#000000',
  },
}
SCSS
$custom: #b3298c;
$custom-light: #ce72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3298c",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 316.957,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.19853,
    "h": 342.1
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#B3298C
secondary
#70C789
accent
#E67042
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3298C

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

Preview Lab → · Contrast checker → · Palette generator →

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