#B23258#B23258

#B23258 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.165 H 7.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B23258
RGBrgb(178, 50, 88)
HSLhsl(342, 56%, 45%)
HSVhsv(342, 72%, 70%)
CMYKcmyk(0%, 71.9%, 50.6%, 30.2%)
CIE-LABlab(41.93, 53.84, 8.12)
CIE-LCHlch(41.93, 54.45, 8.57°)
OKLaboklab(52.07% 0.1641 0.0211)
OKLCHoklch(52.07% 0.165 7.3)
XYZxyz(21.2640, 12.4536, 10.5147)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23258 #32B28C
analogous
#B23298 #B23258 #B24C32
triadic
#B23258 #58B232 #3258B2
tetradic
#B23258 #98B232 #32B28C #4C32B2
square
#B23258 #98B232 #32B28C #4C32B2
split-complementary
#B23258 #32B24C #3298B2
monochromatic
#521729 #822540 #B23258 #CF5377 #DC829D

Accessibility & contrast

On white

6.02
#B23258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B23258 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23258
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23258#FFFFFF#000000##FFFFFF
##B232581.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515359
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#C21842
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23258;
/* rgb */ color: rgb(178, 50, 88);
/* oklch */ color: oklch(52.1% 0.165 7.3);
Tailwind
colors: {
  custom: {
    50: '#cf7486',
    500: '#b23258',
    950: '#000000',
  },
}
SCSS
$custom: #b23258;
$custom-light: #cf7486;
$custom-dark: #000000;
JSON
{
  "hex": "#b23258",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 342.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.1654,
    "h": 7.3
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#B23258
secondary
#7BC5AF
accent
#DFB348
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B23258

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

Preview Lab → · Contrast checker → · Palette generator →

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