#B23255#B23255

#B23255 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.165 H 8.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B23255
RGBrgb(178, 50, 85)
HSLhsl(344, 56%, 45%)
HSVhsv(344, 72%, 70%)
CMYKcmyk(0%, 71.9%, 52.2%, 30.2%)
CIE-LABlab(41.85, 53.59, 9.89)
CIE-LCHlch(41.85, 54.49, 10.46°)
OKLaboklab(51.99% 0.1629 0.0254)
OKLCHoklch(51.99% 0.165 8.8)
XYZxyz(21.1423, 12.4049, 9.8736)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23255 #32B28F
analogous
#B23295 #B23255 #B24F32
triadic
#B23255 #55B232 #3255B2
tetradic
#B23255 #95B232 #32B28F #4F32B2
square
#B23255 #95B232 #32B28F #4F32B2
split-complementary
#B23255 #32B24F #3295B2
monochromatic
#521727 #82253E #B23255 #CF5375 #DC829B

Accessibility & contrast

On white

6.03
#B23255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B23255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23255
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23255#FFFFFF#000000##FFFFFF
##B232551.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515256
Deuteranopia (green-blind)
#736C52
Tritanopia (blue-blind)
#C21640
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23255;
/* rgb */ color: rgb(178, 50, 85);
/* oklch */ color: oklch(52.0% 0.165 8.8);
Tailwind
colors: {
  custom: {
    50: '#cf7484',
    500: '#b23255',
    950: '#000000',
  },
}
SCSS
$custom: #b23255;
$custom-light: #cf7484;
$custom-dark: #000000;
JSON
{
  "hex": "#b23255",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 343.594,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.16486,
    "h": 8.8
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#B23255
secondary
#7BC5B1
accent
#DFB648
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23255

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

Preview Lab → · Contrast checker → · Palette generator →

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