#B23277#B23277

#B23277 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.176 H 351.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B23277
RGBrgb(178, 50, 119)
HSLhsl(328, 56%, 45%)
HSVhsv(328, 72%, 70%)
CMYKcmyk(0%, 71.9%, 33.1%, 30.2%)
CIE-LABlab(42.88, 57.00, -9.79)
CIE-LCHlch(42.88, 57.84, 350.26°)
OKLaboklab(53.09% 0.1743 -0.0253)
OKLCHoklch(53.09% 0.176 351.7)
XYZxyz(22.8318, 13.0807, 18.7717)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23277 #32B26D
analogous
#AD32B2 #B23277 #B23237
triadic
#B23277 #77B232 #3277B2
tetradic
#B23277 #B2AD32 #32B26D #3237B2
square
#B23277 #B2AD32 #32B26D #3237B2
split-complementary
#B23277 #37B232 #32B2AD
monochromatic
#521737 #822557 #B23277 #CF5395 #DC82B3

Accessibility & contrast

On white

5.81
#B23277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B23277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23277
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23277#FFFFFF#000000##FFFFFF
##B232771.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475779
Deuteranopia (green-blind)
#6C6E74
Tritanopia (blue-blind)
#BF2950
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23277;
/* rgb */ color: rgb(178, 50, 119);
/* oklch */ color: oklch(53.1% 0.176 351.7);
Tailwind
colors: {
  custom: {
    50: '#cd759e',
    500: '#b23277',
    950: '#000000',
  },
}
SCSS
$custom: #b23277;
$custom-light: #cd759e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23277",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 327.656,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.17616,
    "h": 351.7
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#B23277
secondary
#7BC59D
accent
#DF8E48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23277

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

Preview Lab → · Contrast checker → · Palette generator →

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