#B23057#B23057

#B23057 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.8% C 0.167 H 7.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B23057
RGBrgb(178, 48, 87)
HSLhsl(342, 58%, 44%)
HSVhsv(342, 73%, 70%)
CMYKcmyk(0%, 73%, 51.1%, 30.2%)
CIE-LABlab(41.64, 54.48, 8.34)
CIE-LCHlch(41.64, 55.12, 8.71°)
OKLaboklab(51.85% 0.166 0.0216)
OKLCHoklch(51.85% 0.167 7.4)
XYZxyz(21.1392, 12.2699, 10.2701)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23057 #30B28B
analogous
#B23098 #B23057 #B24A30
triadic
#B23057 #57B230 #3057B2
tetradic
#B23057 #98B230 #30B28B #4A30B2
square
#B23057 #98B230 #30B28B #4A30B2
split-complementary
#B23057 #30B24A #3098B2
monochromatic
#521628 #82233F #B23057 #D05076 #DD809C

Accessibility & contrast

On white

6.08
#B23057 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B23057 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23057
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23057#FFFFFF#000000##FFFFFF
##B230571.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#C21340
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23057;
/* rgb */ color: rgb(178, 48, 87);
/* oklch */ color: oklch(51.8% 0.167 7.4);
Tailwind
colors: {
  custom: {
    50: '#cf7386',
    500: '#b23057',
    950: '#000000',
  },
}
SCSS
$custom: #b23057;
$custom-light: #cf7386;
$custom-dark: #000000;
JSON
{
  "hex": "#b23057",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 87
  },
  "hsl": {
    "h": 342,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.16739,
    "h": 7.4
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#B23057
secondary
#78C6AE
accent
#E1B347
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B23057

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

Preview Lab → · Contrast checker → · Palette generator →

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