#B3298D#B3298D

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

Color values

HEX#B3298D
RGBrgb(179, 41, 141)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 77%, 70%)
CMYKcmyk(0%, 77.1%, 21.2%, 29.8%)
CIE-LABlab(42.91, 62.96, -23.23)
CIE-LCHlch(42.91, 67.11, 339.75°)
OKLaboklab(53.43% 0.1891 -0.0625)
OKLCHoklch(53.43% 0.199 341.7)
XYZxyz(24.1919, 13.0952, 26.4477)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3298D #29B34F
analogous
#9429B3 #B3298D #B32948
triadic
#B3298D #8DB329 #298DB3
tetradic
#B3298D #B39429 #29B34F #2948B3
square
#B3298D #B39429 #29B34F #2948B3
split-complementary
#B3298D #48B329 #29B394
monochromatic
#4F123F #811E66 #B3298D #D445AD #E077C3

Accessibility & contrast

On white

5.80
#B3298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3298D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3298D#FFFFFF#000000##FFFFFF
##B3298D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#BE2B58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3298d;
/* rgb */ color: rgb(179, 41, 141);
/* oklch */ color: oklch(53.4% 0.199 341.7);
Tailwind
colors: {
  custom: {
    50: '#ce72ae',
    500: '#b3298d',
    950: '#000000',
  },
}
SCSS
$custom: #b3298d;
$custom-light: #ce72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3298d",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 316.522,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.19915,
    "h": 341.7
  },
  "luminance": 0.13093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3298D

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

Preview Lab → · Contrast checker → · Palette generator →

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