#B7298B#B7298B

#B7298B is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.0% C 0.200 H 343.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B7298B
RGBrgb(183, 41, 139)
HSLhsl(319, 63%, 44%)
HSVhsv(319, 78%, 72%)
CMYKcmyk(0%, 77.6%, 24%, 28.2%)
CIE-LABlab(43.54, 63.66, -20.98)
CIE-LCHlch(43.54, 67.03, 341.76°)
OKLaboklab(53.99% 0.1924 -0.0561)
OKLCHoklch(53.99% 0.2 343.8)
XYZxyz(24.9826, 13.5199, 25.7150)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7298B #29B755
analogous
#9C29B7 #B7298B #B72944
triadic
#B7298B #8BB729 #298BB7
tetradic
#B7298B #B79C29 #29B755 #2944B7
square
#B7298B #B79C29 #29B755 #2944B7
split-complementary
#B7298B #44B729 #29B79C
monochromatic
#53133F #851E65 #B7298B #D647AA #E179C1

Accessibility & contrast

On white

5.67
#B7298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B7298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7298B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7298B#FFFFFF#000000##FFFFFF
##B7298B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#C32857
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b7298b;
/* rgb */ color: rgb(183, 41, 139);
/* oklch */ color: oklch(54.0% 0.200 343.8);
Tailwind
colors: {
  custom: {
    50: '#d172ad',
    500: '#b7298b',
    950: '#000000',
  },
}
SCSS
$custom: #b7298b;
$custom-light: #d172ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b7298b",
  "rgb": {
    "r": 183,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 318.592,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.20041,
    "h": 343.8
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#B7298B
secondary
#73C98E
accent
#E67541
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7298B

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

Preview Lab → · Contrast checker → · Palette generator →

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