#B12C4E#B12C4E

#B12C4E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.169 H 10.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B12C4E
RGBrgb(177, 44, 78)
HSLhsl(345, 60%, 43%)
HSVhsv(345, 75%, 69%)
CMYKcmyk(0%, 75.1%, 55.9%, 30.6%)
CIE-LABlab(40.74, 54.85, 12.72)
CIE-LCHlch(40.74, 56.31, 13.05°)
OKLaboklab(51.08% 0.1661 0.032)
OKLCHoklch(51.08% 0.169 10.9)
XYZxyz(20.4092, 11.7014, 8.3902)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C4E #2CB18F
analogous
#B12C90 #B12C4E #B14D2C
triadic
#B12C4E #4EB12C #2C4EB1
tetradic
#B12C4E #90B12C #2CB18F #4D2CB1
square
#B12C4E #90B12C #2CB18F #4D2CB1
split-complementary
#B12C4E #2CB14D #2C90B1
monochromatic
#4F1423 #802038 #B12C4E #D2496C #DE7A93

Accessibility & contrast

On white

6.29
#B12C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B12C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12C4E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12C4E#FFFFFF#000000##FFFFFF
##B12C4E1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#C2013A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12c4e;
/* rgb */ color: rgb(177, 44, 78);
/* oklch */ color: oklch(51.1% 0.169 10.9);
Tailwind
colors: {
  custom: {
    50: '#cf717f',
    500: '#b12c4e',
    950: '#000000',
  },
}
SCSS
$custom: #b12c4e;
$custom-light: #cf717f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c4e",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 344.662,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.16919,
    "h": 10.9
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#B12C4E
secondary
#73C6B1
accent
#E3BB44
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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