#B23286#B23286

#B23286 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.184 H 344.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B23286
RGBrgb(178, 50, 134)
HSLhsl(321, 56%, 45%)
HSVhsv(321, 72%, 70%)
CMYKcmyk(0%, 71.9%, 24.7%, 30.2%)
CIE-LABlab(43.46, 58.86, -18.12)
CIE-LCHlch(43.46, 61.59, 342.89°)
OKLaboklab(53.7% 0.1779 -0.0482)
OKLCHoklch(53.7% 0.184 344.8)
XYZxyz(23.8047, 13.4699, 23.8959)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23286 #32B25E
analogous
#9E32B2 #B23286 #B23246
triadic
#B23286 #86B232 #3286B2
tetradic
#B23286 #B29E32 #32B25E #3246B2
square
#B23286 #B29E32 #32B25E #3246B2
split-complementary
#B23286 #46B232 #32B29E
monochromatic
#52173E #822562 #B23286 #CF53A4 #DC82BD

Accessibility & contrast

On white

5.69
#B23286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B23286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23286
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23286#FFFFFF#000000##FFFFFF
##B232861.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#676F83
Tritanopia (blue-blind)
#BE3058
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23286;
/* rgb */ color: rgb(178, 50, 134);
/* oklch */ color: oklch(53.7% 0.184 344.8);
Tailwind
colors: {
  custom: {
    50: '#cd75a9',
    500: '#b23286',
    950: '#000000',
  },
}
SCSS
$custom: #b23286;
$custom-light: #cd75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23286",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 320.625,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.18434,
    "h": 344.8
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#B23286
secondary
#7BC594
accent
#DF7C48
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23286

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

Preview Lab → · Contrast checker → · Palette generator →

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