#B12850#B12850

#B12850 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.173 H 9.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B12850
RGBrgb(177, 40, 80)
HSLhsl(342, 63%, 43%)
HSVhsv(342, 77%, 69%)
CMYKcmyk(0%, 77.4%, 54.8%, 30.6%)
CIE-LABlab(40.32, 56.30, 10.88)
CIE-LCHlch(40.32, 57.34, 10.94°)
OKLaboklab(50.78% 0.1711 0.0276)
OKLCHoklch(50.78% 0.173 9.2)
XYZxyz(20.3401, 11.4468, 8.7263)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12850 #28B189
analogous
#B12894 #B12850 #B14528
triadic
#B12850 #50B128 #2850B1
tetradic
#B12850 #94B128 #28B189 #4528B1
square
#B12850 #94B128 #28B189 #4528B1
split-complementary
#B12850 #28B145 #2894B1
monochromatic
#4D1123 #7F1D39 #B12850 #D4426D #E07493

Accessibility & contrast

On white

6.39
#B12850 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B12850 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12850
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12850#FFFFFF#000000##FFFFFF
##B128501.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D51
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#C10039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12850;
/* rgb */ color: rgb(177, 40, 80);
/* oklch */ color: oklch(50.8% 0.173 9.2);
Tailwind
colors: {
  custom: {
    50: '#cf6f80',
    500: '#b12850',
    950: '#000000',
  },
}
SCSS
$custom: #b12850;
$custom-light: #cf6f80;
$custom-dark: #000000;
JSON
{
  "hex": "#b12850",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 80
  },
  "hsl": {
    "h": 342.482,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50784,
    "c": 0.17331,
    "h": 9.2
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#B12850
secondary
#6EC7AD
accent
#E6B642
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12850

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

Preview Lab → · Contrast checker → · Palette generator →

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