#B12474#B12474

#B12474 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.189 H 351.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B12474
RGBrgb(177, 36, 116)
HSLhsl(326, 66%, 42%)
HSVhsv(326, 80%, 69%)
CMYKcmyk(0%, 79.7%, 34.5%, 30.6%)
CIE-LABlab(41.01, 60.86, -10.77)
CIE-LCHlch(41.01, 61.80, 349.97°)
OKLaboklab(51.65% 0.1867 -0.0279)
OKLCHoklch(51.65% 0.189 351.5)
XYZxyz(21.9161, 11.8725, 17.6571)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12474 #24B161
analogous
#A724B1 #B12474 #B1242E
triadic
#B12474 #74B124 #2474B1
tetradic
#B12474 #B1A724 #24B161 #242EB1
square
#B12474 #B1A724 #24B161 #242EB1
split-complementary
#B12474 #2EB124 #24B1A7
monochromatic
#4B0F31 #7E1A53 #B12474 #D73B94 #E16EAF

Accessibility & contrast

On white

6.22
#B12474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B12474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12474
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12474#FFFFFF#000000##FFFFFF
##B124741.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5176
Deuteranopia (green-blind)
#676A71
Tritanopia (blue-blind)
#BF1549
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12474;
/* rgb */ color: rgb(177, 36, 116);
/* oklch */ color: oklch(51.6% 0.189 351.5);
Tailwind
colors: {
  custom: {
    50: '#cd6f9c',
    500: '#b12474',
    950: '#000000',
  },
}
SCSS
$custom: #b12474;
$custom-light: #cd6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12474",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 325.957,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5165,
    "c": 0.1888,
    "h": 351.5
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#B12474
secondary
#69C892
accent
#E9883F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12474

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

Preview Lab → · Contrast checker → · Palette generator →

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