#B3297A#B3297A

#B3297A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.188 H 349.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B3297A
RGBrgb(179, 41, 122)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 70%)
CMYKcmyk(0%, 77.1%, 31.8%, 29.8%)
CIE-LABlab(42.12, 60.60, -12.78)
CIE-LCHlch(42.12, 61.93, 348.09°)
OKLaboklab(52.6% 0.1854 -0.0334)
OKLCHoklch(52.6% 0.188 349.8)
XYZxyz(22.8975, 12.5774, 19.6305)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3297A #29B362
analogous
#A729B3 #B3297A #B32935
triadic
#B3297A #7AB329 #297AB3
tetradic
#B3297A #B3A729 #29B362 #2935B3
square
#B3297A #B3A729 #29B362 #2935B3
split-complementary
#B3297A #35B329 #29B3A7
monochromatic
#4F1236 #811E58 #B3297A #D44599 #E077B4

Accessibility & contrast

On white

5.97
#B3297A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B3297A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3297A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3297A#FFFFFF#000000##FFFFFF
##B3297A1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#696C77
Tritanopia (blue-blind)
#C01F4E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3297a;
/* rgb */ color: rgb(179, 41, 122);
/* oklch */ color: oklch(52.6% 0.188 349.8);
Tailwind
colors: {
  custom: {
    50: '#ce71a0',
    500: '#b3297a',
    950: '#000000',
  },
}
SCSS
$custom: #b3297a;
$custom-light: #ce71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3297a",
  "rgb": {
    "r": 179,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 324.783,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.18834,
    "h": 349.8
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#B3297A
secondary
#70C794
accent
#E68642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B3297A

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

Preview Lab → · Contrast checker → · Palette generator →

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