#B12481#B12481

#B12481 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 345.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B12481
RGBrgb(177, 36, 129)
HSLhsl(320, 66%, 42%)
HSVhsv(320, 80%, 69%)
CMYKcmyk(0%, 79.7%, 27.1%, 30.6%)
CIE-LABlab(41.53, 62.38, -18.04)
CIE-LCHlch(41.53, 64.93, 343.87°)
OKLaboklab(52.19% 0.1896 -0.0479)
OKLCHoklch(52.19% 0.196 345.8)
XYZxyz(22.7259, 12.1964, 21.9220)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12481 #24B154
analogous
#9B24B1 #B12481 #B1243A
triadic
#B12481 #81B124 #2481B1
tetradic
#B12481 #B19B24 #24B154 #243AB1
square
#B12481 #B19B24 #24B154 #243AB1
split-complementary
#B12481 #3AB124 #24B19B
monochromatic
#4B0F37 #7E1A5C #B12481 #D73BA2 #E16EBA

Accessibility & contrast

On white

6.11
#B12481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12481
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12481#FFFFFF#000000##FFFFFF
##B124811.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#646A7E
Tritanopia (blue-blind)
#BD2050
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12481;
/* rgb */ color: rgb(177, 36, 129);
/* oklch */ color: oklch(52.2% 0.196 345.8);
Tailwind
colors: {
  custom: {
    50: '#cd6fa5',
    500: '#b12481',
    950: '#000000',
  },
}
SCSS
$custom: #b12481;
$custom-light: #cd6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12481",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 320.426,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.1956,
    "h": 345.8
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#B12481
secondary
#69C889
accent
#E9793F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B12481

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

Preview Lab → · Contrast checker → · Palette generator →

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