#B12295#B12295

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

Color values

HEX#B12295
RGBrgb(177, 34, 149)
HSLhsl(312, 68%, 41%)
HSVhsv(312, 81%, 69%)
CMYKcmyk(0%, 80.8%, 15.8%, 30.6%)
CIE-LABlab(42.25, 65.51, -29.13)
CIE-LCHlch(42.25, 71.69, 336.03°)
OKLaboklab(53.01% 0.194 -0.0792)
OKLCHoklch(53.01% 0.21 337.8)
XYZxyz(24.1289, 12.6635, 29.6015)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12295 #22B13E
analogous
#8622B1 #B12295 #B1224E
triadic
#B12295 #95B122 #2295B1
tetradic
#B12295 #B18622 #22B13E #224EB1
square
#B12295 #B18622 #22B13E #224EB1
split-complementary
#B12295 #4EB122 #22B186
monochromatic
#4A0E3F #7E186A #B12295 #D938B9 #E36BCB

Accessibility & contrast

On white

5.95
#B12295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12295
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12295#FFFFFF#000000##FFFFFF
##B122951.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#5C6B92
Tritanopia (blue-blind)
#BB2C5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12295;
/* rgb */ color: rgb(177, 34, 149);
/* oklch */ color: oklch(53.0% 0.210 337.8);
Tailwind
colors: {
  custom: {
    50: '#cd6fb4',
    500: '#b12295',
    950: '#000000',
  },
}
SCSS
$custom: #b12295;
$custom-light: #cd6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12295",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 311.748,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.20958,
    "h": 337.8
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12295

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

Preview Lab → · Contrast checker → · Palette generator →

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