#B23496#B23496

#B23496 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.192 H 338.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B23496
RGBrgb(178, 52, 150)
HSLhsl(313, 55%, 45%)
HSVhsv(313, 71%, 70%)
CMYKcmyk(0%, 70.8%, 15.7%, 30.2%)
CIE-LABlab(44.41, 60.36, -26.35)
CIE-LCHlch(44.41, 65.86, 336.42°)
OKLaboklab(54.62% 0.1785 -0.0714)
OKLCHoklch(54.62% 0.192 338.2)
XYZxyz(25.0936, 14.1253, 30.2531)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23496 #34B250
analogous
#8F34B2 #B23496 #B23457
triadic
#B23496 #96B234 #3496B2
tetradic
#B23496 #B28F34 #34B250 #3457B2
square
#B23496 #B28F34 #34B250 #3457B2
split-complementary
#B23496 #57B234 #34B28F
monochromatic
#531846 #83266E #B23496 #CE56B3 #DB85C8

Accessibility & contrast

On white

5.49
#B23496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B23496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23496
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23496#FFFFFF#000000##FFFFFF
##B234961.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#637093
Tritanopia (blue-blind)
#BC3A61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23496;
/* rgb */ color: rgb(178, 52, 150);
/* oklch */ color: oklch(54.6% 0.192 338.2);
Tailwind
colors: {
  custom: {
    50: '#cd77b5',
    500: '#b23496',
    950: '#000000',
  },
}
SCSS
$custom: #b23496;
$custom-light: #cd77b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23496",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 313.333,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.19225,
    "h": 338.2
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#B23496
secondary
#7DC58D
accent
#DE6B4A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23496

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

Preview Lab → · Contrast checker → · Palette generator →

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