#B12299#B12299

#B12299 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.2% C 0.212 H 336.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B12299
RGBrgb(177, 34, 153)
HSLhsl(310, 68%, 41%)
HSVhsv(310, 81%, 69%)
CMYKcmyk(0%, 80.8%, 13.6%, 30.6%)
CIE-LABlab(42.45, 66.07, -31.24)
CIE-LCHlch(42.45, 73.08, 334.70°)
OKLaboklab(53.22% 0.1943 -0.0853)
OKLCHoklch(53.22% 0.212 336.3)
XYZxyz(24.4537, 12.7934, 31.3123)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12299 #22B13A
analogous
#8222B1 #B12299 #B12252
triadic
#B12299 #99B122 #2299B1
tetradic
#B12299 #B18222 #22B13A #2252B1
square
#B12299 #B18222 #22B13A #2252B1
split-complementary
#B12299 #52B122 #22B182
monochromatic
#4A0E40 #7E186D #B12299 #D938BE #E36BCE

Accessibility & contrast

On white

5.90
#B12299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B12299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12299
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12299#FFFFFF#000000##FFFFFF
##B122991.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#BA2E5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12299;
/* rgb */ color: rgb(177, 34, 153);
/* oklch */ color: oklch(53.2% 0.212 336.3);
Tailwind
colors: {
  custom: {
    50: '#cc6fb7',
    500: '#b12299',
    950: '#000000',
  },
}
SCSS
$custom: #b12299;
$custom-light: #cc6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12299",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 310.07,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.21222,
    "h": 336.3
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#B12299
secondary
#66C977
accent
#EB5A3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B12299

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

Preview Lab → · Contrast checker → · Palette generator →

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