#B23497#B23497

#B23497 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.193 H 337.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B23497
RGBrgb(178, 52, 151)
HSLhsl(313, 55%, 45%)
HSVhsv(313, 71%, 70%)
CMYKcmyk(0%, 70.8%, 15.2%, 30.2%)
CIE-LABlab(44.46, 60.51, -26.88)
CIE-LCHlch(44.46, 66.21, 336.05°)
OKLaboklab(54.67% 0.1786 -0.0729)
OKLCHoklch(54.67% 0.193 337.8)
XYZxyz(25.1745, 14.1576, 30.6790)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23497 #34B24F
analogous
#8E34B2 #B23497 #B23458
triadic
#B23497 #97B234 #3497B2
tetradic
#B23497 #B28E34 #34B24F #3458B2
square
#B23497 #B28E34 #34B24F #3458B2
split-complementary
#B23497 #58B234 #34B28E
monochromatic
#531847 #83266F #B23497 #CE56B4 #DB85C9

Accessibility & contrast

On white

5.48
#B23497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B23497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23497
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23497#FFFFFF#000000##FFFFFF
##B234971.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23497;
/* rgb */ color: rgb(178, 52, 151);
/* oklch */ color: oklch(54.7% 0.193 337.8);
Tailwind
colors: {
  custom: {
    50: '#cd77b6',
    500: '#b23497',
    950: '#000000',
  },
}
SCSS
$custom: #b23497;
$custom-light: #cd77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23497",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 312.857,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.19295,
    "h": 337.8
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#B23497
secondary
#7DC58C
accent
#DE694A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23497

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

Preview Lab → · Contrast checker → · Palette generator →

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