#B23161#B23161

#B23161 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.169 H 2.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B23161
RGBrgb(178, 49, 97)
HSLhsl(338, 57%, 45%)
HSVhsv(338, 72%, 70%)
CMYKcmyk(0%, 72.5%, 45.5%, 30.2%)
CIE-LABlab(42.04, 55.02, 2.65)
CIE-LCHlch(42.04, 55.09, 2.75°)
OKLaboklab(52.23% 0.1685 0.0074)
OKLCHoklch(52.23% 0.169 2.5)
XYZxyz(21.6178, 12.5275, 12.5866)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23161 #31B282
analogous
#B231A2 #B23161 #B24131
triadic
#B23161 #61B231 #3161B2
tetradic
#B23161 #A2B231 #31B282 #4131B2
square
#B23161 #A2B231 #31B282 #4131B2
split-complementary
#B23161 #31B241 #31A2B2
monochromatic
#52172D #822447 #B23161 #CF5180 #DC81A3

Accessibility & contrast

On white

5.99
#B23161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B23161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23161
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23161#FFFFFF#000000##FFFFFF
##B231611.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5362
Deuteranopia (green-blind)
#706C5E
Tritanopia (blue-blind)
#C11C45
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23161;
/* rgb */ color: rgb(178, 49, 97);
/* oklch */ color: oklch(52.2% 0.169 2.5);
Tailwind
colors: {
  custom: {
    50: '#ce748d',
    500: '#b23161',
    950: '#000000',
  },
}
SCSS
$custom: #b23161;
$custom-light: #ce748d;
$custom-dark: #000000;
JSON
{
  "hex": "#b23161",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 337.674,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.16868,
    "h": 2.5
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#B23161
secondary
#79C5A9
accent
#E0A748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B23161

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

Preview Lab → · Contrast checker → · Palette generator →

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