#B23257#B23257

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

Color values

HEX#B23257
RGBrgb(178, 50, 87)
HSLhsl(343, 56%, 45%)
HSVhsv(343, 72%, 70%)
CMYKcmyk(0%, 71.9%, 51.1%, 30.2%)
CIE-LABlab(41.90, 53.76, 8.71)
CIE-LCHlch(41.90, 54.46, 9.20°)
OKLaboklab(52.04% 0.1637 0.0225)
OKLCHoklch(52.04% 0.165 7.8)
XYZxyz(21.2228, 12.4372, 10.2980)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23257 #32B28D
analogous
#B23297 #B23257 #B24D32
triadic
#B23257 #57B232 #3257B2
tetradic
#B23257 #97B232 #32B28D #4D32B2
square
#B23257 #97B232 #32B28D #4D32B2
split-complementary
#B23257 #32B24D #3297B2
monochromatic
#521728 #822540 #B23257 #CF5376 #DC829C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23257#FFFFFF#000000##FFFFFF
##B232571.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)
#515358
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#C21741
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b23257;
/* rgb */ color: rgb(178, 50, 87);
/* oklch */ color: oklch(52.0% 0.165 7.8);
Tailwind
colors: {
  custom: {
    50: '#cf7486',
    500: '#b23257',
    950: '#000000',
  },
}
SCSS
$custom: #b23257;
$custom-light: #cf7486;
$custom-dark: #000000;
JSON
{
  "hex": "#b23257",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 87
  },
  "hsl": {
    "h": 342.656,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.16521,
    "h": 7.8
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

primary
#B23257
secondary
#7BC5B0
accent
#DFB448
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B23257

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

Preview Lab → · Contrast checker → · Palette generator →

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