#B23152#B23152

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

Color values

HEX#B23152
RGBrgb(178, 49, 82)
HSLhsl(345, 57%, 45%)
HSVhsv(345, 72%, 70%)
CMYKcmyk(0%, 72.5%, 53.9%, 30.2%)
CIE-LABlab(41.65, 53.71, 11.49)
CIE-LCHlch(41.65, 54.92, 12.07°)
OKLaboklab(51.81% 0.1629 0.0292)
OKLCHoklch(51.81% 0.166 10.2)
XYZxyz(20.9833, 12.2737, 9.2451)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23152 #31B291
analogous
#B23193 #B23152 #B25131
triadic
#B23152 #52B231 #3152B2
tetradic
#B23152 #93B231 #31B291 #5131B2
square
#B23152 #93B231 #31B291 #5131B2
split-complementary
#B23152 #31B251 #3193B2
monochromatic
#521726 #82243C #B23152 #CF5171 #DC8198

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23152#FFFFFF#000000##FFFFFF
##B231521.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)
#515253
Deuteranopia (green-blind)
#736C4F
Tritanopia (blue-blind)
#C2123F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b23152;
/* rgb */ color: rgb(178, 49, 82);
/* oklch */ color: oklch(51.8% 0.166 10.2);
Tailwind
colors: {
  custom: {
    50: '#cf7382',
    500: '#b23152',
    950: '#000000',
  },
}
SCSS
$custom: #b23152;
$custom-light: #cf7382;
$custom-dark: #000000;
JSON
{
  "hex": "#b23152",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 344.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.1655,
    "h": 10.2
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#B23152
secondary
#79C5B2
accent
#E0B948
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23152

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

Preview Lab → · Contrast checker → · Palette generator →

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