#B12754#B12754

#B12754 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.175 H 7.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B12754
RGBrgb(177, 39, 84)
HSLhsl(340, 64%, 42%)
HSVhsv(340, 78%, 69%)
CMYKcmyk(0%, 78%, 52.5%, 30.6%)
CIE-LABlab(40.31, 56.92, 8.33)
CIE-LCHlch(40.31, 57.53, 8.33°)
OKLaboklab(50.81% 0.1736 0.0215)
OKLCHoklch(50.81% 0.175 7.1)
XYZxyz(20.4591, 11.4411, 9.5168)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12754 #27B184
analogous
#B12799 #B12754 #B13F27
triadic
#B12754 #54B127 #2754B1
tetradic
#B12754 #99B127 #27B184 #3F27B1
square
#B12754 #99B127 #27B184 #3F27B1
split-complementary
#B12754 #27B13F #2799B1
monochromatic
#4D1124 #7F1C3C #B12754 #D54071 #E07296

Accessibility & contrast

On white

6.39
#B12754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B12754 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12754
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12754#FFFFFF#000000##FFFFFF
##B127541.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12754;
/* rgb */ color: rgb(177, 39, 84);
/* oklch */ color: oklch(50.8% 0.175 7.1);
Tailwind
colors: {
  custom: {
    50: '#cf6f83',
    500: '#b12754',
    950: '#000000',
  },
}
SCSS
$custom: #b12754;
$custom-light: #cf6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#b12754",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 340.435,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.17494,
    "h": 7.1
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#B12754
secondary
#6DC7AA
accent
#E7B141
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12754

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

Preview Lab → · Contrast checker → · Palette generator →

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