#B12751#B12751

#B12751 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.174 H 8.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B12751
RGBrgb(177, 39, 81)
HSLhsl(342, 64%, 42%)
HSVhsv(342, 78%, 69%)
CMYKcmyk(0%, 78%, 54.2%, 30.6%)
CIE-LABlab(40.24, 56.69, 10.13)
CIE-LCHlch(40.24, 57.58, 10.13°)
OKLaboklab(50.73% 0.1725 0.0259)
OKLCHoklch(50.73% 0.174 8.5)
XYZxyz(20.3441, 11.3951, 8.9112)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12751 #27B187
analogous
#B12796 #B12751 #B14227
triadic
#B12751 #51B127 #2751B1
tetradic
#B12751 #96B127 #27B187 #4227B1
square
#B12751 #96B127 #27B187 #4227B1
split-complementary
#B12751 #27B142 #2796B1
monochromatic
#4D1123 #7F1C3A #B12751 #D5406E #E07294

Accessibility & contrast

On white

6.41
#B12751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B12751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12751
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12751#FFFFFF#000000##FFFFFF
##B127511.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D52
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#C10039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12751;
/* rgb */ color: rgb(177, 39, 81);
/* oklch */ color: oklch(50.7% 0.174 8.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f81',
    500: '#b12751',
    950: '#000000',
  },
}
SCSS
$custom: #b12751;
$custom-light: #cf6f81;
$custom-dark: #000000;
JSON
{
  "hex": "#b12751",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 341.739,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.1744,
    "h": 8.5
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#B12751
secondary
#6DC7AC
accent
#E7B441
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12751

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

Preview Lab → · Contrast checker → · Palette generator →

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