#B12854#B12854

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

Color values

HEX#B12854
RGBrgb(177, 40, 84)
HSLhsl(341, 63%, 43%)
HSVhsv(341, 77%, 69%)
CMYKcmyk(0%, 77.4%, 52.5%, 30.6%)
CIE-LABlab(40.42, 56.61, 8.49)
CIE-LCHlch(40.42, 57.25, 8.53°)
OKLaboklab(50.89% 0.1726 0.0219)
OKLCHoklch(50.89% 0.174 7.2)
XYZxyz(20.4924, 11.5077, 9.5279)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12854 #28B185
analogous
#B12899 #B12854 #B14028
triadic
#B12854 #54B128 #2854B1
tetradic
#B12854 #99B128 #28B185 #4028B1
square
#B12854 #99B128 #28B185 #4028B1
split-complementary
#B12854 #28B140 #2899B1
monochromatic
#4D1125 #7F1D3C #B12854 #D44271 #E07496

Accessibility & contrast

On white

6.36
#B12854 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B12854 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12854
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12854#FFFFFF#000000##FFFFFF
##B128541.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12854;
/* rgb */ color: rgb(177, 40, 84);
/* oklch */ color: oklch(50.9% 0.174 7.2);
Tailwind
colors: {
  custom: {
    50: '#cf6f83',
    500: '#b12854',
    950: '#000000',
  },
}
SCSS
$custom: #b12854;
$custom-light: #cf6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#b12854",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 84
  },
  "hsl": {
    "h": 340.73,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.174,
    "h": 7.2
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#B12854
secondary
#6EC7AA
accent
#E6B142
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12854

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

Preview Lab → · Contrast checker → · Palette generator →

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