#B12F74#B12F74

#B12F74 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.177 H 352.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B12F74
RGBrgb(177, 47, 116)
HSLhsl(328, 58%, 44%)
HSVhsv(328, 73%, 69%)
CMYKcmyk(0%, 73.4%, 34.5%, 30.6%)
CIE-LABlab(42.22, 57.44, -8.95)
CIE-LCHlch(42.22, 58.13, 351.15°)
OKLaboklab(52.53% 0.1759 -0.023)
OKLCHoklch(52.53% 0.177 352.5)
XYZxyz(22.3017, 12.6437, 17.7857)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F74 #2FB16C
analogous
#AD2FB1 #B12F74 #B12F33
triadic
#B12F74 #74B12F #2F74B1
tetradic
#B12F74 #B1AD2F #2FB16C #2F33B1
square
#B12F74 #B1AD2F #2FB16C #2F33B1
split-complementary
#B12F74 #33B12F #2FB1AD
monochromatic
#501535 #812254 #B12F74 #D04D93 #DD7EB0

Accessibility & contrast

On white

5.95
#B12F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B12F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F74
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F74#FFFFFF#000000##FFFFFF
##B12F741.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465576
Deuteranopia (green-blind)
#6B6C71
Tritanopia (blue-blind)
#BF244D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12f74;
/* rgb */ color: rgb(177, 47, 116);
/* oklch */ color: oklch(52.5% 0.177 352.5);
Tailwind
colors: {
  custom: {
    50: '#cd739c',
    500: '#b12f74',
    950: '#000000',
  },
}
SCSS
$custom: #b12f74;
$custom-light: #cd739c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f74",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 328.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.17742,
    "h": 352.5
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#B12F74
secondary
#76C59B
accent
#E18F47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12F74

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

Preview Lab → · Contrast checker → · Palette generator →

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