#B23366#B23366

#B23366 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.168 H 0.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B23366
RGBrgb(178, 51, 102)
HSLhsl(336, 55%, 45%)
HSVhsv(336, 71%, 70%)
CMYKcmyk(0%, 71.3%, 42.7%, 30.2%)
CIE-LABlab(42.45, 54.78, 0.12)
CIE-LCHlch(42.45, 54.78, 0.12°)
OKLaboklab(52.59% 0.1679 0.0009)
OKLCHoklch(52.59% 0.168 0.3)
XYZxyz(21.9438, 12.7947, 13.8819)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23366 #33B27F
analogous
#B233A5 #B23366 #B24033
triadic
#B23366 #66B233 #3366B2
tetradic
#B23366 #A5B233 #33B27F #4033B2
square
#B23366 #A5B233 #33B27F #4033B2
split-complementary
#B23366 #33B240 #33A5B2
monochromatic
#53182F #82254B #B23366 #CE5485 #DC84A7

Accessibility & contrast

On white

5.90
#B23366 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B23366 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23366
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23366#FFFFFF#000000##FFFFFF
##B233661.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5567
Deuteranopia (green-blind)
#706D63
Tritanopia (blue-blind)
#C12148
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23366;
/* rgb */ color: rgb(178, 51, 102);
/* oklch */ color: oklch(52.6% 0.168 0.3);
Tailwind
colors: {
  custom: {
    50: '#ce7591',
    500: '#b23366',
    950: '#000000',
  },
}
SCSS
$custom: #b23366;
$custom-light: #ce7591;
$custom-dark: #000000;
JSON
{
  "hex": "#b23366",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 335.906,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.16792,
    "h": 0.3
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#B23366
secondary
#7CC5A8
accent
#DFA349
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #B23366

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

Preview Lab → · Contrast checker → · Palette generator →

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