#B12286#B12286

#B12286 is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.3% C 0.200 H 343.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B12286
RGBrgb(177, 34, 134)
HSLhsl(318, 68%, 41%)
HSVhsv(318, 81%, 69%)
CMYKcmyk(0%, 80.8%, 24.3%, 30.6%)
CIE-LABlab(41.56, 63.53, -21.07)
CIE-LCHlch(41.56, 66.93, 341.65°)
OKLaboklab(52.28% 0.1922 -0.0564)
OKLCHoklch(52.28% 0.2 343.7)
XYZxyz(23.0075, 12.2149, 23.6957)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12286 #22B14D
analogous
#9522B1 #B12286 #B1223F
triadic
#B12286 #86B122 #2286B1
tetradic
#B12286 #B19522 #22B14D #223FB1
square
#B12286 #B19522 #22B14D #223FB1
split-complementary
#B12286 #3FB122 #22B195
monochromatic
#4A0E38 #7E185F #B12286 #D938A8 #E36BBF

Accessibility & contrast

On white

6.10
#B12286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12286
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12286#FFFFFF#000000##FFFFFF
##B122861.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#626A83
Tritanopia (blue-blind)
#BD2253
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12286;
/* rgb */ color: rgb(177, 34, 134);
/* oklch */ color: oklch(52.3% 0.200 343.7);
Tailwind
colors: {
  custom: {
    50: '#cd6fa9',
    500: '#b12286',
    950: '#000000',
  },
}
SCSS
$custom: #b12286;
$custom-light: #cd6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#b12286",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 318.042,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.20026,
    "h": 343.7
  },
  "luminance": 0.12212
}

Semantic roles & 50–950 ramp

primary
#B12286
secondary
#66C984
accent
#EB713D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B12286

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

Preview Lab → · Contrast checker → · Palette generator →

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