#B12875#B12875

#B12875 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.185 H 351.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B12875
RGBrgb(177, 40, 117)
HSLhsl(326, 63%, 43%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 77.4%, 33.9%, 30.6%)
CIE-LABlab(41.46, 59.81, -10.72)
CIE-LCHlch(41.46, 60.77, 349.84°)
OKLaboklab(51.99% 0.1833 -0.0278)
OKLCHoklch(51.99% 0.185 351.4)
XYZxyz(22.1025, 12.1517, 18.0078)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12875 #28B164
analogous
#A828B1 #B12875 #B12831
triadic
#B12875 #75B128 #2875B1
tetradic
#B12875 #B1A828 #28B164 #2831B1
square
#B12875 #B1A828 #28B164 #2831B1
split-complementary
#B12875 #31B128 #28B1A8
monochromatic
#4D1133 #7F1D54 #B12875 #D44294 #E074B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12875#FFFFFF#000000##FFFFFF
##B128751.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)
#415277
Deuteranopia (green-blind)
#686B72
Tritanopia (blue-blind)
#BF1C4B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12875;
/* rgb */ color: rgb(177, 40, 117);
/* oklch */ color: oklch(52.0% 0.185 351.4);
Tailwind
colors: {
  custom: {
    50: '#cd709c',
    500: '#b12875',
    950: '#000000',
  },
}
SCSS
$custom: #b12875;
$custom-light: #cd709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12875",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 326.277,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.18542,
    "h": 351.4
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#B12875
secondary
#6EC795
accent
#E68A42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12875

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

Preview Lab → · Contrast checker → · Palette generator →

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