#B2299B#B2299B

#B2299B is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 54.0% C 0.208 H 336.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B2299B
RGBrgb(178, 41, 155)
HSLhsl(310, 63%, 43%)
HSVhsv(310, 77%, 70%)
CMYKcmyk(0%, 77%, 12.9%, 30.2%)
CIE-LABlab(43.39, 64.67, -30.96)
CIE-LCHlch(43.39, 71.70, 334.42°)
OKLaboklab(53.96% 0.1898 -0.0845)
OKLCHoklch(53.96% 0.208 336)
XYZxyz(25.0698, 13.4197, 32.2739)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2299B #29B240
analogous
#8429B2 #B2299B #B22956
triadic
#B2299B #9BB229 #299BB2
tetradic
#B2299B #B28429 #29B240 #2956B2
square
#B2299B #B28429 #29B240 #2956B2
split-complementary
#B2299B #56B229 #29B284
monochromatic
#4F1244 #801E70 #B2299B #D444BC #DF76CE

Accessibility & contrast

On white

5.70
#B2299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2299B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2299B#FFFFFF#000000##FFFFFF
##B2299B1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#BB3460
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2299b;
/* rgb */ color: rgb(178, 41, 155);
/* oklch */ color: oklch(54.0% 0.208 336.0);
Tailwind
colors: {
  custom: {
    50: '#cd72b9',
    500: '#b2299b',
    950: '#000000',
  },
}
SCSS
$custom: #b2299b;
$custom-light: #cd72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b2299b",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 310.073,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.20772,
    "h": 336
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#B2299B
secondary
#70C77E
accent
#E65E42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2299B

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

Preview Lab → · Contrast checker → · Palette generator →

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