#B02299#B02299

#B02299 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.212 H 336.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B02299
RGBrgb(176, 34, 153)
HSLhsl(310, 68%, 41%)
HSVhsv(310, 81%, 69%)
CMYKcmyk(0%, 80.7%, 13.1%, 31%)
CIE-LABlab(42.27, 65.85, -31.53)
CIE-LCHlch(42.27, 73.01, 334.41°)
OKLaboklab(53.06% 0.1934 -0.0861)
OKLCHoklch(53.06% 0.212 336)
XYZxyz(24.2267, 12.6764, 31.3017)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02299 #22B039
analogous
#8022B0 #B02299 #B02252
triadic
#B02299 #99B022 #2299B0
tetradic
#B02299 #B08022 #22B039 #2252B0
square
#B02299 #B08022 #22B039 #2252B0
split-complementary
#B02299 #52B022 #22B080
monochromatic
#490E40 #7D186C #B02299 #D837BE #E26ACF

Accessibility & contrast

On white

5.94
#B02299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B02299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02299
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02299#FFFFFF#000000##FFFFFF
##B022991.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B92E5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02299;
/* rgb */ color: rgb(176, 34, 153);
/* oklch */ color: oklch(53.1% 0.212 336.0);
Tailwind
colors: {
  custom: {
    50: '#cc6fb7',
    500: '#b02299',
    950: '#000000',
  },
}
SCSS
$custom: #b02299;
$custom-light: #cc6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02299",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 309.718,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.2117,
    "h": 336
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#B02299
secondary
#66C876
accent
#EA593D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B02299

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

Preview Lab → · Contrast checker → · Palette generator →

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