#B23162#B23162

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

Color values

HEX#B23162
RGBrgb(178, 49, 98)
HSLhsl(337, 57%, 45%)
HSVhsv(337, 72%, 70%)
CMYKcmyk(0%, 72.5%, 44.9%, 30.2%)
CIE-LABlab(42.07, 55.12, 2.06)
CIE-LCHlch(42.07, 55.16, 2.14°)
OKLaboklab(52.26% 0.1689 0.0059)
OKLCHoklch(52.26% 0.169 2)
XYZxyz(21.6647, 12.5462, 12.8337)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23162 #31B281
analogous
#B231A3 #B23162 #B24031
triadic
#B23162 #62B231 #3162B2
tetradic
#B23162 #A3B231 #31B281 #4031B2
square
#B23162 #A3B231 #31B281 #4031B2
split-complementary
#B23162 #31B240 #31A3B2
monochromatic
#52172D #822448 #B23162 #CF5181 #DC81A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23162#FFFFFF#000000##FFFFFF
##B231621.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)
#4D5363
Deuteranopia (green-blind)
#706C5F
Tritanopia (blue-blind)
#C11C46
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23162;
/* rgb */ color: rgb(178, 49, 98);
/* oklch */ color: oklch(52.3% 0.169 2.0);
Tailwind
colors: {
  custom: {
    50: '#ce748e',
    500: '#b23162',
    950: '#000000',
  },
}
SCSS
$custom: #b23162;
$custom-light: #ce748e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23162",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 337.209,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.16897,
    "h": 2
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23162

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

Preview Lab → · Contrast checker → · Palette generator →

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