#B12758#B12758

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

Color values

HEX#B12758
RGBrgb(177, 39, 88)
HSLhsl(339, 64%, 42%)
HSVhsv(339, 78%, 69%)
CMYKcmyk(0%, 78%, 50.3%, 30.6%)
CIE-LABlab(40.42, 57.25, 5.95)
CIE-LCHlch(40.42, 57.56, 5.94°)
OKLaboklab(50.92% 0.1751 0.0157)
OKLCHoklch(50.92% 0.176 5.1)
XYZxyz(20.6203, 11.5056, 10.3656)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12758 #27B180
analogous
#B1279D #B12758 #B13B27
triadic
#B12758 #58B127 #2758B1
tetradic
#B12758 #9DB127 #27B180 #3B27B1
square
#B12758 #9DB127 #27B180 #3B27B1
split-complementary
#B12758 #27B13B #279DB1
monochromatic
#4D1126 #7F1C3F #B12758 #D54075 #E07299

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12758#FFFFFF#000000##FFFFFF
##B127581.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)
#4A4E59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12758;
/* rgb */ color: rgb(177, 39, 88);
/* oklch */ color: oklch(50.9% 0.176 5.1);
Tailwind
colors: {
  custom: {
    50: '#ce6f86',
    500: '#b12758',
    950: '#000000',
  },
}
SCSS
$custom: #b12758;
$custom-light: #ce6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b12758",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 338.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.1758,
    "h": 5.1
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#B12758
secondary
#6DC7A7
accent
#E7AC41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12758

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

Preview Lab → · Contrast checker → · Palette generator →

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