#B12D95#B12D95

#B12D95 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.199 H 338.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B12D95
RGBrgb(177, 45, 149)
HSLhsl(313, 59%, 44%)
HSVhsv(313, 75%, 69%)
CMYKcmyk(0%, 74.6%, 15.8%, 30.6%)
CIE-LABlab(43.35, 62.35, -27.41)
CIE-LCHlch(43.35, 68.11, 336.27°)
OKLaboklab(53.8% 0.1845 -0.0744)
OKLCHoklch(53.8% 0.199 338)
XYZxyz(24.4952, 13.3961, 29.7236)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12D95 #2DB149
analogous
#8B2DB1 #B12D95 #B12D53
triadic
#B12D95 #95B12D #2D95B1
tetradic
#B12D95 #B18B2D #2DB149 #2D53B1
square
#B12D95 #B18B2D #2DB149 #2D53B1
split-complementary
#B12D95 #53B12D #2DB18B
monochromatic
#4F1443 #80216C #B12D95 #D14AB4 #DD7BC9

Accessibility & contrast

On white

5.71
#B12D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B12D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12D95
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12D95#FFFFFF#000000##FFFFFF
##B12D951.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335998
Deuteranopia (green-blind)
#5F6E92
Tritanopia (blue-blind)
#BB345E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b12d95;
/* rgb */ color: rgb(177, 45, 149);
/* oklch */ color: oklch(53.8% 0.199 338.0);
Tailwind
colors: {
  custom: {
    50: '#cc73b4',
    500: '#b12d95',
    950: '#000000',
  },
}
SCSS
$custom: #b12d95;
$custom-light: #cc73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12d95",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 312.727,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.19896,
    "h": 338
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#B12D95
secondary
#74C685
accent
#E36745
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B12D95

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

Preview Lab → · Contrast checker → · Palette generator →

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