#B12895#B12895

#B12895 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.204 H 337.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B12895
RGBrgb(177, 40, 149)
HSLhsl(312, 63%, 43%)
HSVhsv(312, 77%, 69%)
CMYKcmyk(0%, 77.4%, 15.8%, 30.6%)
CIE-LABlab(42.82, 63.88, -28.24)
CIE-LCHlch(42.82, 69.84, 336.15°)
OKLaboklab(53.42% 0.1891 -0.0767)
OKLCHoklch(53.42% 0.204 337.9)
XYZxyz(24.3156, 13.0370, 29.6637)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12895 #28B144
analogous
#8928B1 #B12895 #B12850
triadic
#B12895 #95B128 #2895B1
tetradic
#B12895 #B18928 #28B144 #2850B1
square
#B12895 #B18928 #28B144 #2850B1
split-complementary
#B12895 #50B128 #28B189
monochromatic
#4D1141 #7F1D6B #B12895 #D442B6 #E074CA

Accessibility & contrast

On white

5.82
#B12895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B12895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12895
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12895#FFFFFF#000000##FFFFFF
##B128951.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5898
Deuteranopia (green-blind)
#5E6D92
Tritanopia (blue-blind)
#BB305C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12895;
/* rgb */ color: rgb(177, 40, 149);
/* oklch */ color: oklch(53.4% 0.204 337.9);
Tailwind
colors: {
  custom: {
    50: '#cc71b4',
    500: '#b12895',
    950: '#000000',
  },
}
SCSS
$custom: #b12895;
$custom-light: #cc71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12895",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 312.263,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.2041,
    "h": 337.9
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#B12895
secondary
#6EC780
accent
#E66342
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B12895

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

Preview Lab → · Contrast checker → · Palette generator →

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