#B12480#B12480

#B12480 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.195 H 346.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B12480
RGBrgb(177, 36, 128)
HSLhsl(321, 66%, 42%)
HSVhsv(321, 80%, 69%)
CMYKcmyk(0%, 79.7%, 27.7%, 30.6%)
CIE-LABlab(41.48, 62.25, -17.48)
CIE-LCHlch(41.48, 64.66, 344.31°)
OKLaboklab(52.15% 0.1895 -0.0464)
OKLCHoklch(52.15% 0.195 346.2)
XYZxyz(22.6597, 12.1700, 21.5736)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12480 #24B155
analogous
#9C24B1 #B12480 #B1243A
triadic
#B12480 #80B124 #2480B1
tetradic
#B12480 #B19C24 #24B155 #243AB1
square
#B12480 #B19C24 #24B155 #243AB1
split-complementary
#B12480 #3AB124 #24B19C
monochromatic
#4B0F36 #7E1A5B #B12480 #D73BA1 #E16EB9

Accessibility & contrast

On white

6.12
#B12480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B12480 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12480
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12480#FFFFFF#000000##FFFFFF
##B124801.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395382
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#BE1F50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12480;
/* rgb */ color: rgb(177, 36, 128);
/* oklch */ color: oklch(52.1% 0.195 346.2);
Tailwind
colors: {
  custom: {
    50: '#cd6fa5',
    500: '#b12480',
    950: '#000000',
  },
}
SCSS
$custom: #b12480;
$custom-light: #cd6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12480",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 320.851,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.19504,
    "h": 346.2
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#B12480
secondary
#69C88A
accent
#E97A3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B12480

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

Preview Lab → · Contrast checker → · Palette generator →

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