#B23786#B23786

#B23786 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.178 H 345.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B23786
RGBrgb(178, 55, 134)
HSLhsl(321, 53%, 46%)
HSVhsv(321, 69%, 70%)
CMYKcmyk(0%, 69.1%, 24.7%, 30.2%)
CIE-LABlab(44.12, 57.03, -17.11)
CIE-LCHlch(44.12, 59.54, 343.30°)
OKLaboklab(54.18% 0.1723 -0.0454)
OKLCHoklch(54.18% 0.178 345.2)
XYZxyz(24.0303, 13.9211, 23.9711)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23786 #37B263
analogous
#A037B2 #B23786 #B23749
triadic
#B23786 #86B237 #3786B2
tetradic
#B23786 #B2A037 #37B263 #3749B2
square
#B23786 #B2A037 #37B263 #3749B2
split-complementary
#B23786 #49B237 #37B2A0
monochromatic
#541A40 #832963 #B23786 #CC5AA3 #DB89BD

Accessibility & contrast

On white

5.55
#B23786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B23786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23786
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23786#FFFFFF#000000##FFFFFF
##B237861.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B88
Deuteranopia (green-blind)
#697083
Tritanopia (blue-blind)
#BE3559
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23786;
/* rgb */ color: rgb(178, 55, 134);
/* oklch */ color: oklch(54.2% 0.178 345.2);
Tailwind
colors: {
  custom: {
    50: '#cd77a9',
    500: '#b23786',
    950: '#000000',
  },
}
SCSS
$custom: #b23786;
$custom-light: #cd77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23786",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 321.463,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.17816,
    "h": 345.2
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#B23786
secondary
#80C599
accent
#DC7F4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23786

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

Preview Lab → · Contrast checker → · Palette generator →

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