#B12293#B12293

#B12293 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.208 H 338.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B12293
RGBrgb(177, 34, 147)
HSLhsl(313, 68%, 41%)
HSVhsv(313, 81%, 69%)
CMYKcmyk(0%, 80.8%, 16.9%, 30.6%)
CIE-LABlab(42.15, 65.23, -28.07)
CIE-LCHlch(42.15, 71.02, 336.72°)
OKLaboklab(52.91% 0.1939 -0.0762)
OKLCHoklch(52.91% 0.208 338.5)
XYZxyz(23.9706, 12.6001, 28.7678)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12293 #22B140
analogous
#8822B1 #B12293 #B1224C
triadic
#B12293 #93B122 #2293B1
tetradic
#B12293 #B18822 #22B140 #224CB1
square
#B12293 #B18822 #22B140 #224CB1
split-complementary
#B12293 #4CB122 #22B188
monochromatic
#4A0E3E #7E1868 #B12293 #D938B7 #E36BC9

Accessibility & contrast

On white

5.97
#B12293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B12293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12293
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12293#FFFFFF#000000##FFFFFF
##B122931.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5596
Deuteranopia (green-blind)
#5D6B90
Tritanopia (blue-blind)
#BB2A5A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12293;
/* rgb */ color: rgb(177, 34, 147);
/* oklch */ color: oklch(52.9% 0.208 338.5);
Tailwind
colors: {
  custom: {
    50: '#cd6fb3',
    500: '#b12293',
    950: '#000000',
  },
}
SCSS
$custom: #b12293;
$custom-light: #cd6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b12293",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 312.587,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.20829,
    "h": 338.5
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#B12293
secondary
#66C97B
accent
#EB623D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B12293

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

Preview Lab → · Contrast checker → · Palette generator →

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