#B12770#B12770

#B12770 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.184 H 353.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B12770
RGBrgb(177, 39, 112)
HSLhsl(328, 64%, 42%)
HSVhsv(328, 78%, 69%)
CMYKcmyk(0%, 78%, 36.7%, 30.6%)
CIE-LABlab(41.17, 59.56, -8.04)
CIE-LCHlch(41.17, 60.10, 352.31°)
OKLaboklab(51.72% 0.1829 -0.0205)
OKLCHoklch(51.72% 0.184 353.6)
XYZxyz(21.7830, 11.9707, 16.4896)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12770 #27B168
analogous
#AD27B1 #B12770 #B1272B
triadic
#B12770 #70B127 #2770B1
tetradic
#B12770 #B1AD27 #27B168 #272BB1
square
#B12770 #B1AD27 #27B168 #272BB1
split-complementary
#B12770 #2BB127 #27B1AD
monochromatic
#4D1131 #7F1C50 #B12770 #D5408F #E072AC

Accessibility & contrast

On white

6.19
#B12770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B12770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12770
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12770#FFFFFF#000000##FFFFFF
##B127701.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#696A6D
Tritanopia (blue-blind)
#BF1748
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12770;
/* rgb */ color: rgb(177, 39, 112);
/* oklch */ color: oklch(51.7% 0.184 353.6);
Tailwind
colors: {
  custom: {
    50: '#cd7099',
    500: '#b12770',
    950: '#000000',
  },
}
SCSS
$custom: #b12770;
$custom-light: #cd7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b12770",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 328.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.18409,
    "h": 353.6
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#B12770
secondary
#6DC797
accent
#E78F41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B12770

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

Preview Lab → · Contrast checker → · Palette generator →

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