#B12381#B12381

#B12381 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.197 H 345.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B12381
RGBrgb(177, 35, 129)
HSLhsl(320, 67%, 42%)
HSVhsv(320, 80%, 69%)
CMYKcmyk(0%, 80.2%, 27.1%, 30.6%)
CIE-LABlab(41.43, 62.64, -18.18)
CIE-LCHlch(41.43, 65.23, 343.82°)
OKLaboklab(52.12% 0.1905 -0.0483)
OKLCHoklch(52.12% 0.197 345.8)
XYZxyz(22.6960, 12.1367, 21.9120)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12381 #23B153
analogous
#9A23B1 #B12381 #B1233A
triadic
#B12381 #81B123 #2381B1
tetradic
#B12381 #B19A23 #23B153 #233AB1
square
#B12381 #B19A23 #23B153 #233AB1
split-complementary
#B12381 #3AB123 #23B19A
monochromatic
#4B0F37 #7E195C #B12381 #D839A2 #E26CBA

Accessibility & contrast

On white

6.13
#B12381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12381
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12381#FFFFFF#000000##FFFFFF
##B123811.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#BD1F50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12381;
/* rgb */ color: rgb(177, 35, 129);
/* oklch */ color: oklch(52.1% 0.197 345.8);
Tailwind
colors: {
  custom: {
    50: '#cd6fa5',
    500: '#b12381',
    950: '#000000',
  },
}
SCSS
$custom: #b12381;
$custom-light: #cd6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12381",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 320.282,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.19651,
    "h": 345.8
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#B12381
secondary
#68C888
accent
#EA783E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B12381

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

Preview Lab → · Contrast checker → · Palette generator →

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