#B12759#B12759

#B12759 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.176 H 4.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B12759
RGBrgb(177, 39, 89)
HSLhsl(338, 64%, 42%)
HSVhsv(338, 78%, 69%)
CMYKcmyk(0%, 78%, 49.7%, 30.6%)
CIE-LABlab(40.45, 57.34, 5.36)
CIE-LCHlch(40.45, 57.59, 5.34°)
OKLaboklab(50.95% 0.1755 0.0142)
OKLCHoklch(50.95% 0.176 4.6)
XYZxyz(20.6620, 11.5223, 10.5853)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12759 #27B17F
analogous
#B1279E #B12759 #B13A27
triadic
#B12759 #59B127 #2759B1
tetradic
#B12759 #9EB127 #27B17F #3A27B1
square
#B12759 #9EB127 #27B17F #3A27B1
split-complementary
#B12759 #27B13A #279EB1
monochromatic
#4D1127 #7F1C40 #B12759 #D54076 #E0729A

Accessibility & contrast

On white

6.36
#B12759 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B12759 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12759
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12759#FFFFFF#000000##FFFFFF
##B127591.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E5A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#C1003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12759;
/* rgb */ color: rgb(177, 39, 89);
/* oklch */ color: oklch(51.0% 0.176 4.6);
Tailwind
colors: {
  custom: {
    50: '#ce6f87',
    500: '#b12759',
    950: '#000000',
  },
}
SCSS
$custom: #b12759;
$custom-light: #ce6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#b12759",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 89
  },
  "hsl": {
    "h": 338.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.17604,
    "h": 4.6
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#B12759
secondary
#6DC7A6
accent
#E7AB41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12759

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

Preview Lab → · Contrast checker → · Palette generator →

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