#B13162#B13162

#B13162 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.168 H 1.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B13162
RGBrgb(177, 49, 98)
HSLhsl(337, 57%, 44%)
HSVhsv(337, 72%, 69%)
CMYKcmyk(0%, 72.3%, 44.6%, 30.6%)
CIE-LABlab(41.89, 54.83, 1.78)
CIE-LCHlch(41.89, 54.86, 1.85°)
OKLaboklab(52.1% 0.168 0.0052)
OKLCHoklch(52.1% 0.168 1.8)
XYZxyz(21.4360, 12.4283, 12.8230)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13162 #31B180
analogous
#B131A2 #B13162 #B14031
triadic
#B13162 #62B131 #3162B1
tetradic
#B13162 #A2B131 #31B180 #4031B1
square
#B13162 #A2B131 #31B180 #4031B1
split-complementary
#B13162 #31B140 #31A2B1
monochromatic
#51162D #812447 #B13162 #CF5181 #DC80A3

Accessibility & contrast

On white

6.03
#B13162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B13162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13162
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13162#FFFFFF#000000##FFFFFF
##B131621.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5363
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#C01D46
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b13162;
/* rgb */ color: rgb(177, 49, 98);
/* oklch */ color: oklch(52.1% 0.168 1.8);
Tailwind
colors: {
  custom: {
    50: '#cd738e',
    500: '#b13162',
    950: '#000000',
  },
}
SCSS
$custom: #b13162;
$custom-light: #cd738e;
$custom-dark: #000000;
JSON
{
  "hex": "#b13162",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 337.031,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.16807,
    "h": 1.8
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#B13162
secondary
#79C5A8
accent
#E0A648
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #B13162

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

Preview Lab → · Contrast checker → · Palette generator →

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