#B12458#B12458

#B12458 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.179 H 4.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B12458
RGBrgb(177, 36, 88)
HSLhsl(338, 66%, 42%)
HSVhsv(338, 80%, 69%)
CMYKcmyk(0%, 79.7%, 50.3%, 30.6%)
CIE-LABlab(40.11, 58.13, 5.51)
CIE-LCHlch(40.11, 58.39, 5.41°)
OKLaboklab(50.69% 0.1779 0.0146)
OKLCHoklch(50.69% 0.179 4.7)
XYZxyz(20.5256, 11.3163, 10.3341)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12458 #24B17D
analogous
#B1249F #B12458 #B13624
triadic
#B12458 #58B124 #2458B1
tetradic
#B12458 #9FB124 #24B17D #3624B1
square
#B12458 #9FB124 #24B17D #3624B1
split-complementary
#B12458 #24B136 #249FB1
monochromatic
#4B0F25 #7E1A3F #B12458 #D73B75 #E16E99

Accessibility & contrast

On white

6.44
#B12458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B12458 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12458
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12458#FFFFFF#000000##FFFFFF
##B124581.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#6E6855
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12458;
/* rgb */ color: rgb(177, 36, 88);
/* oklch */ color: oklch(50.7% 0.179 4.7);
Tailwind
colors: {
  custom: {
    50: '#ce6e86',
    500: '#b12458',
    950: '#000000',
  },
}
SCSS
$custom: #b12458;
$custom-light: #ce6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b12458",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 337.872,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.17854,
    "h": 4.7
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#B12458
secondary
#69C8A5
accent
#E9AA3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B12458

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

Preview Lab → · Contrast checker → · Palette generator →

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