#B23281#B23281

#B23281 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.181 H 347.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B23281
RGBrgb(178, 50, 129)
HSLhsl(323, 56%, 45%)
HSVhsv(323, 72%, 70%)
CMYKcmyk(0%, 71.9%, 27.5%, 30.2%)
CIE-LABlab(43.26, 58.22, -15.37)
CIE-LCHlch(43.26, 60.21, 345.22°)
OKLaboklab(53.49% 0.1768 -0.0406)
OKLCHoklch(53.49% 0.181 347.1)
XYZxyz(23.4642, 13.3337, 22.1026)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23281 #32B263
analogous
#A332B2 #B23281 #B23241
triadic
#B23281 #81B232 #3281B2
tetradic
#B23281 #B2A332 #32B263 #3241B2
square
#B23281 #B2A332 #32B263 #3241B2
split-complementary
#B23281 #41B232 #32B2A3
monochromatic
#52173C #82255E #B23281 #CF539F #DC82BA

Accessibility & contrast

On white

5.73
#B23281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B23281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23281
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23281#FFFFFF#000000##FFFFFF
##B232811.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#BE2E55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23281;
/* rgb */ color: rgb(178, 50, 129);
/* oklch */ color: oklch(53.5% 0.181 347.1);
Tailwind
colors: {
  custom: {
    50: '#cd75a5',
    500: '#b23281',
    950: '#000000',
  },
}
SCSS
$custom: #b23281;
$custom-light: #cd75a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23281",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 322.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.18143,
    "h": 347.1
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#B23281
secondary
#7BC597
accent
#DF8248
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B23281

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

Preview Lab → · Contrast checker → · Palette generator →

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