#B12F7D#B12F7D

#B12F7D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.182 H 348.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B12F7D
RGBrgb(177, 47, 125)
HSLhsl(324, 58%, 44%)
HSVhsv(324, 73%, 69%)
CMYKcmyk(0%, 73.4%, 29.4%, 30.6%)
CIE-LABlab(42.56, 58.50, -14.00)
CIE-LCHlch(42.56, 60.15, 346.54°)
OKLaboklab(52.89% 0.1782 -0.0368)
OKLCHoklch(52.89% 0.182 348.3)
XYZxyz(22.8508, 12.8634, 20.6776)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F7D #2FB163
analogous
#A42FB1 #B12F7D #B12F3C
triadic
#B12F7D #7DB12F #2F7DB1
tetradic
#B12F7D #B1A42F #2FB163 #2F3CB1
square
#B12F7D #B1A42F #2FB163 #2F3CB1
split-complementary
#B12F7D #3CB12F #2FB1A4
monochromatic
#501539 #81225B #B12F7D #D04D9C #DD7EB7

Accessibility & contrast

On white

5.88
#B12F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B12F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F7D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F7D#FFFFFF#000000##FFFFFF
##B12F7D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#686D7A
Tritanopia (blue-blind)
#BE2952
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12f7d;
/* rgb */ color: rgb(177, 47, 125);
/* oklch */ color: oklch(52.9% 0.182 348.3);
Tailwind
colors: {
  custom: {
    50: '#cd73a2',
    500: '#b12f7d',
    950: '#000000',
  },
}
SCSS
$custom: #b12f7d;
$custom-light: #cd73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f7d",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 324,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.182,
    "h": 348.3
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#B12F7D
secondary
#76C596
accent
#E18447
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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