#B12558#B12558

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

Color values

HEX#B12558
RGBrgb(177, 37, 88)
HSLhsl(338, 65%, 42%)
HSVhsv(338, 79%, 69%)
CMYKcmyk(0%, 79.1%, 50.3%, 30.6%)
CIE-LABlab(40.21, 57.85, 5.65)
CIE-LCHlch(40.21, 58.12, 5.58°)
OKLaboklab(50.77% 0.177 0.0149)
OKLCHoklch(50.77% 0.178 4.8)
XYZxyz(20.5563, 11.3777, 10.3443)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12558 #25B17E
analogous
#B1259E #B12558 #B13825
triadic
#B12558 #58B125 #2558B1
tetradic
#B12558 #9EB125 #25B17E #3825B1
square
#B12558 #9EB125 #25B17E #3825B1
split-complementary
#B12558 #25B138 #259EB1
monochromatic
#4C1026 #7E1A3F #B12558 #D63D75 #E16F99

Accessibility & contrast

On white

6.41
#B12558 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B12558 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12558
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12558#FFFFFF#000000##FFFFFF
##B125581.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12558;
/* rgb */ color: rgb(177, 37, 88);
/* oklch */ color: oklch(50.8% 0.178 4.8);
Tailwind
colors: {
  custom: {
    50: '#ce6e86',
    500: '#b12558',
    950: '#000000',
  },
}
SCSS
$custom: #b12558;
$custom-light: #ce6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b12558",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 338.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.17764,
    "h": 4.8
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#B12558
secondary
#6AC8A6
accent
#E8AB3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12558

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

Preview Lab → · Contrast checker → · Palette generator →

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