#B12478#B12478

#B12478 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.191 H 349.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B12478
RGBrgb(177, 36, 120)
HSLhsl(324, 66%, 42%)
HSVhsv(324, 80%, 69%)
CMYKcmyk(0%, 79.7%, 32.2%, 30.6%)
CIE-LABlab(41.16, 61.31, -13.02)
CIE-LCHlch(41.16, 62.68, 348.01°)
OKLaboklab(51.81% 0.1877 -0.034)
OKLCHoklch(51.81% 0.191 349.7)
XYZxyz(22.1538, 11.9676, 18.9090)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12478 #24B15D
analogous
#A424B1 #B12478 #B12432
triadic
#B12478 #78B124 #2478B1
tetradic
#B12478 #B1A424 #24B15D #2432B1
square
#B12478 #B1A424 #24B15D #2432B1
split-complementary
#B12478 #32B124 #24B1A4
monochromatic
#4B0F33 #7E1A56 #B12478 #D73B98 #E16EB3

Accessibility & contrast

On white

6.19
#B12478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B12478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12478
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12478#FFFFFF#000000##FFFFFF
##B124781.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517A
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#BE194C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12478;
/* rgb */ color: rgb(177, 36, 120);
/* oklch */ color: oklch(51.8% 0.191 349.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f9f',
    500: '#b12478',
    950: '#000000',
  },
}
SCSS
$custom: #b12478;
$custom-light: #cd6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12478",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 324.255,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.19078,
    "h": 349.7
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#B12478
secondary
#69C88F
accent
#E9843F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12478

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

Preview Lab → · Contrast checker → · Palette generator →

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