#B12A4E#B12A4E

#B12A4E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.171 H 10.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B12A4E
RGBrgb(177, 42, 78)
HSLhsl(344, 62%, 43%)
HSVhsv(344, 76%, 69%)
CMYKcmyk(0%, 76.3%, 55.9%, 30.6%)
CIE-LABlab(40.50, 55.51, 12.39)
CIE-LCHlch(40.50, 56.88, 12.58°)
OKLaboklab(50.9% 0.1683 0.0312)
OKLCHoklch(50.9% 0.171 10.5)
XYZxyz(20.3365, 11.5560, 8.3659)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A4E #2AB18D
analogous
#B12A91 #B12A4E #B1492A
triadic
#B12A4E #4EB12A #2A4EB1
tetradic
#B12A4E #91B12A #2AB18D #492AB1
square
#B12A4E #91B12A #2AB18D #492AB1
split-complementary
#B12A4E #2AB149 #2A91B1
monochromatic
#4E1322 #801E38 #B12A4E #D3456B #DF7792

Accessibility & contrast

On white

6.34
#B12A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B12A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A4E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A4E#FFFFFF#000000##FFFFFF
##B12A4E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#71694B
Tritanopia (blue-blind)
#C20039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12a4e;
/* rgb */ color: rgb(177, 42, 78);
/* oklch */ color: oklch(50.9% 0.171 10.5);
Tailwind
colors: {
  custom: {
    50: '#cf707f',
    500: '#b12a4e',
    950: '#000000',
  },
}
SCSS
$custom: #b12a4e;
$custom-light: #cf707f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a4e",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 344,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.509,
    "c": 0.17113,
    "h": 10.5
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#B12A4E
secondary
#70C6AF
accent
#E5BA43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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