#B12783#B12783

#B12783 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.194 H 345.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B12783
RGBrgb(177, 39, 131)
HSLhsl(320, 64%, 42%)
HSVhsv(320, 78%, 69%)
CMYKcmyk(0%, 78%, 26%, 30.6%)
CIE-LABlab(41.91, 61.78, -18.68)
CIE-LCHlch(41.91, 64.54, 343.17°)
OKLaboklab(52.49% 0.1874 -0.0497)
OKLCHoklch(52.49% 0.194 345.1)
XYZxyz(22.9547, 12.4394, 22.6605)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12783 #27B155
analogous
#9A27B1 #B12783 #B1273E
triadic
#B12783 #83B127 #2783B1
tetradic
#B12783 #B19A27 #27B155 #273EB1
square
#B12783 #B19A27 #27B155 #273EB1
split-complementary
#B12783 #3EB127 #27B19A
monochromatic
#4D1139 #7F1C5E #B12783 #D540A3 #E072BB

Accessibility & contrast

On white

6.02
#B12783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B12783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12783
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12783#FFFFFF#000000##FFFFFF
##B127831.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#646B80
Tritanopia (blue-blind)
#BD2452
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12783;
/* rgb */ color: rgb(177, 39, 131);
/* oklch */ color: oklch(52.5% 0.194 345.1);
Tailwind
colors: {
  custom: {
    50: '#cd70a7',
    500: '#b12783',
    950: '#000000',
  },
}
SCSS
$custom: #b12783;
$custom-light: #cd70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12783",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 320,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.19388,
    "h": 345.1
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#B12783
secondary
#6DC78B
accent
#E77841
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12783

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

Preview Lab → · Contrast checker → · Palette generator →

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