#B12562#B12562

#B12562 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.181 H 0.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B12562
RGBrgb(177, 37, 98)
HSLhsl(334, 65%, 42%)
HSVhsv(334, 79%, 69%)
CMYKcmyk(0%, 79.1%, 44.6%, 30.6%)
CIE-LABlab(40.50, 58.73, -0.25)
CIE-LCHlch(40.50, 58.73, 359.76°)
OKLaboklab(51.08% 0.1805 0)
OKLCHoklch(51.08% 0.181 0)
XYZxyz(20.9993, 11.5549, 12.6774)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12562 #25B174
analogous
#B125A8 #B12562 #B12E25
triadic
#B12562 #62B125 #2562B1
tetradic
#B12562 #A8B125 #25B174 #2E25B1
square
#B12562 #A8B125 #25B174 #2E25B1
split-complementary
#B12562 #25B12E #25A8B1
monochromatic
#4C102A #7E1A46 #B12562 #D63D80 #E16FA1

Accessibility & contrast

On white

6.34
#B12562 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12562
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12562#FFFFFF#000000##FFFFFF
##B125621.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#C00340
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12562;
/* rgb */ color: rgb(177, 37, 98);
/* oklch */ color: oklch(51.1% 0.181 0.0);
Tailwind
colors: {
  custom: {
    50: '#ce6f8e',
    500: '#b12562',
    950: '#000000',
  },
}
SCSS
$custom: #b12562;
$custom-light: #ce6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12562",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 333.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.18051,
    "h": 0
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#B12562
secondary
#6AC89F
accent
#E89F3F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B12562

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

Preview Lab → · Contrast checker → · Palette generator →

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