#B12962#B12962

#B12962 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.177 H 0.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B12962
RGBrgb(177, 41, 98)
HSLhsl(335, 62%, 43%)
HSVhsv(335, 77%, 69%)
CMYKcmyk(0%, 76.8%, 44.6%, 30.6%)
CIE-LABlab(40.92, 57.53, 0.37)
CIE-LCHlch(40.92, 57.53, 0.37°)
OKLaboklab(51.39% 0.1767 0.0016)
OKLCHoklch(51.39% 0.177 0.5)
XYZxyz(21.1307, 11.8176, 12.7212)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12962 #29B178
analogous
#B129A6 #B12962 #B13429
triadic
#B12962 #62B129 #2962B1
tetradic
#B12962 #A6B129 #29B178 #3429B1
square
#B12962 #A6B129 #29B178 #3429B1
split-complementary
#B12962 #29B134 #29A6B1
monochromatic
#4E122B #7F1D46 #B12962 #D44480 #DF75A2

Accessibility & contrast

On white

6.24
#B12962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B12962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12962
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12962#FFFFFF#000000##FFFFFF
##B129621.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485063
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#C00D42
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12962;
/* rgb */ color: rgb(177, 41, 98);
/* oklch */ color: oklch(51.4% 0.177 0.5);
Tailwind
colors: {
  custom: {
    50: '#ce708e',
    500: '#b12962',
    950: '#000000',
  },
}
SCSS
$custom: #b12962;
$custom-light: #ce708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12962",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 334.853,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.17666,
    "h": 0.5
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#B12962
secondary
#6FC7A2
accent
#E5A142
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B12962

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

Preview Lab → · Contrast checker → · Palette generator →

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