#B12775#B12775

#B12775 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 351.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B12775
RGBrgb(177, 39, 117)
HSLhsl(326, 64%, 42%)
HSVhsv(326, 78%, 69%)
CMYKcmyk(0%, 78%, 33.9%, 30.6%)
CIE-LABlab(41.35, 60.11, -10.88)
CIE-LCHlch(41.35, 61.09, 349.74°)
OKLaboklab(51.91% 0.1843 -0.0282)
OKLCHoklch(51.91% 0.186 351.3)
XYZxyz(22.0692, 12.0852, 17.9967)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12775 #27B163
analogous
#A827B1 #B12775 #B12730
triadic
#B12775 #75B127 #2775B1
tetradic
#B12775 #B1A827 #27B163 #2730B1
square
#B12775 #B1A827 #27B163 #2730B1
split-complementary
#B12775 #30B127 #27B1A8
monochromatic
#4D1133 #7F1C54 #B12775 #D54094 #E072B0

Accessibility & contrast

On white

6.15
#B12775 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B12775 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12775
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12775#FFFFFF#000000##FFFFFF
##B127751.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405277
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#BF1B4B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12775;
/* rgb */ color: rgb(177, 39, 117);
/* oklch */ color: oklch(51.9% 0.186 351.3);
Tailwind
colors: {
  custom: {
    50: '#cd709c',
    500: '#b12775',
    950: '#000000',
  },
}
SCSS
$custom: #b12775;
$custom-light: #cd709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12775",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 117
  },
  "hsl": {
    "h": 326.087,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.18643,
    "h": 351.3
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#B12775
secondary
#6DC794
accent
#E78941
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12775

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

Preview Lab → · Contrast checker → · Palette generator →

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