#B2299A#B2299A

#B2299A is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.207 H 336.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B2299A
RGBrgb(178, 41, 154)
HSLhsl(311, 63%, 43%)
HSVhsv(311, 77%, 70%)
CMYKcmyk(0%, 77%, 13.5%, 30.2%)
CIE-LABlab(43.34, 64.53, -30.43)
CIE-LCHlch(43.34, 71.34, 334.75°)
OKLaboklab(53.9% 0.1897 -0.083)
OKLCHoklch(53.9% 0.207 336.4)
XYZxyz(24.9862, 13.3863, 31.8335)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2299A #29B241
analogous
#8529B2 #B2299A #B22955
triadic
#B2299A #9AB229 #299AB2
tetradic
#B2299A #B28529 #29B241 #2955B2
square
#B2299A #B28529 #29B241 #2955B2
split-complementary
#B2299A #55B229 #29B285
monochromatic
#4F1244 #801E6F #B2299A #D444BB #DF76CD

Accessibility & contrast

On white

5.71
#B2299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B2299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2299A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2299A#FFFFFF#000000##FFFFFF
##B2299A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#BB335F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2299a;
/* rgb */ color: rgb(178, 41, 154);
/* oklch */ color: oklch(53.9% 0.207 336.4);
Tailwind
colors: {
  custom: {
    50: '#cd72b8',
    500: '#b2299a',
    950: '#000000',
  },
}
SCSS
$custom: #b2299a;
$custom-light: #cd72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b2299a",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 310.511,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.20704,
    "h": 336.4
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#B2299A
secondary
#70C77F
accent
#E65F42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2299A

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

Preview Lab → · Contrast checker → · Palette generator →

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