#B12296#B12296

#B12296 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.1% C 0.210 H 337.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B12296
RGBrgb(177, 34, 150)
HSLhsl(311, 68%, 41%)
HSVhsv(311, 81%, 69%)
CMYKcmyk(0%, 80.8%, 15.3%, 30.6%)
CIE-LABlab(42.30, 65.65, -29.66)
CIE-LCHlch(42.30, 72.04, 335.69°)
OKLaboklab(53.06% 0.1941 -0.0807)
OKLCHoklch(53.06% 0.21 337.4)
XYZxyz(24.2090, 12.6955, 30.0238)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12296 #22B13D
analogous
#8522B1 #B12296 #B1224E
triadic
#B12296 #96B122 #2296B1
tetradic
#B12296 #B18522 #22B13D #224EB1
square
#B12296 #B18522 #22B13D #224EB1
split-complementary
#B12296 #4EB122 #22B185
monochromatic
#4A0E3F #7E186A #B12296 #D938BA #E36BCC

Accessibility & contrast

On white

5.93
#B12296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B12296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12296
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12296#FFFFFF#000000##FFFFFF
##B122961.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#BB2C5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12296;
/* rgb */ color: rgb(177, 34, 150);
/* oklch */ color: oklch(53.1% 0.210 337.4);
Tailwind
colors: {
  custom: {
    50: '#cc6fb5',
    500: '#b12296',
    950: '#000000',
  },
}
SCSS
$custom: #b12296;
$custom-light: #cc6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12296",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 311.329,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.21024,
    "h": 337.4
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#B12296
secondary
#66C979
accent
#EB5E3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B12296

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

Preview Lab → · Contrast checker → · Palette generator →

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