#B3298F#B3298F

#B3298F is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.5% C 0.200 H 340.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B3298F
RGBrgb(179, 41, 143)
HSLhsl(316, 63%, 43%)
HSVhsv(316, 77%, 70%)
CMYKcmyk(0%, 77.1%, 20.1%, 29.8%)
CIE-LABlab(43.00, 63.23, -24.30)
CIE-LCHlch(43.00, 67.74, 338.98°)
OKLaboklab(53.52% 0.1894 -0.0655)
OKLCHoklch(53.52% 0.2 340.9)
XYZxyz(24.3420, 13.1552, 27.2385)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3298F #29B34D
analogous
#9229B3 #B3298F #B3294A
triadic
#B3298F #8FB329 #298FB3
tetradic
#B3298F #B39229 #29B34D #294AB3
square
#B3298F #B39229 #29B34D #294AB3
split-complementary
#B3298F #4AB329 #29B392
monochromatic
#4F123F #811E67 #B3298F #D445AF #E077C4

Accessibility & contrast

On white

5.78
#B3298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B3298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3298F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3298F#FFFFFF#000000##FFFFFF
##B3298F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355792
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#BE2D59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3298f;
/* rgb */ color: rgb(179, 41, 143);
/* oklch */ color: oklch(53.5% 0.200 340.9);
Tailwind
colors: {
  custom: {
    50: '#ce72b0',
    500: '#b3298f',
    950: '#000000',
  },
}
SCSS
$custom: #b3298f;
$custom-light: #ce72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3298f",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 315.652,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.2004,
    "h": 340.9
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#B3298F
secondary
#70C787
accent
#E66D42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3298F

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

Preview Lab → · Contrast checker → · Palette generator →

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