#B12952#B12952

#B12952 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 8.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B12952
RGBrgb(177, 41, 82)
HSLhsl(342, 62%, 43%)
HSVhsv(342, 77%, 69%)
CMYKcmyk(0%, 76.8%, 53.7%, 30.6%)
CIE-LABlab(40.48, 56.14, 9.84)
CIE-LCHlch(40.48, 57.00, 9.94°)
OKLaboklab(50.92% 0.1708 0.0252)
OKLCHoklch(50.92% 0.173 8.4)
XYZxyz(20.4493, 11.5451, 9.1326)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12952 #29B188
analogous
#B12996 #B12952 #B14429
triadic
#B12952 #52B129 #2952B1
tetradic
#B12952 #96B129 #29B188 #4429B1
square
#B12952 #96B129 #29B188 #4429B1
split-complementary
#B12952 #29B144 #2996B1
monochromatic
#4E1224 #7F1D3B #B12952 #D4446F #DF7595

Accessibility & contrast

On white

6.35
#B12952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B12952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12952
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12952#FFFFFF#000000##FFFFFF
##B129521.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12952;
/* rgb */ color: rgb(177, 41, 82);
/* oklch */ color: oklch(50.9% 0.173 8.4);
Tailwind
colors: {
  custom: {
    50: '#cf7082',
    500: '#b12952',
    950: '#000000',
  },
}
SCSS
$custom: #b12952;
$custom-light: #cf7082;
$custom-dark: #000000;
JSON
{
  "hex": "#b12952",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 341.912,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.17268,
    "h": 8.4
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#B12952
secondary
#6FC7AC
accent
#E5B442
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12952

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

Preview Lab → · Contrast checker → · Palette generator →

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