#B12974#B12974

#B12974 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.184 H 351.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B12974
RGBrgb(177, 41, 116)
HSLhsl(327, 62%, 43%)
HSVhsv(327, 77%, 69%)
CMYKcmyk(0%, 76.8%, 34.5%, 30.6%)
CIE-LABlab(41.53, 59.40, -9.99)
CIE-LCHlch(41.53, 60.23, 350.45°)
OKLaboklab(52.03% 0.1821 -0.0258)
OKLCHoklch(52.03% 0.184 351.9)
XYZxyz(22.0781, 12.1966, 17.7111)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12974 #29B166
analogous
#AA29B1 #B12974 #B12930
triadic
#B12974 #74B129 #2974B1
tetradic
#B12974 #B1AA29 #29B166 #2930B1
square
#B12974 #B1AA29 #29B166 #2930B1
split-complementary
#B12974 #30B129 #29B1AA
monochromatic
#4E1233 #7F1D53 #B12974 #D44493 #DF75B0

Accessibility & contrast

On white

6.11
#B12974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12974
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12974#FFFFFF#000000##FFFFFF
##B129741.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#696B71
Tritanopia (blue-blind)
#BF1C4B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12974;
/* rgb */ color: rgb(177, 41, 116);
/* oklch */ color: oklch(52.0% 0.184 351.9);
Tailwind
colors: {
  custom: {
    50: '#cd719c',
    500: '#b12974',
    950: '#000000',
  },
}
SCSS
$custom: #b12974;
$custom-light: #cd719c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12974",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 326.912,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.18393,
    "h": 351.9
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#B12974
secondary
#6FC796
accent
#E58C42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12974

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

Preview Lab → · Contrast checker → · Palette generator →

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