#B23274#B23274

#B23274 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.175 H 353.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B23274
RGBrgb(178, 50, 116)
HSLhsl(329, 56%, 45%)
HSVhsv(329, 72%, 70%)
CMYKcmyk(0%, 71.9%, 34.8%, 30.2%)
CIE-LABlab(42.78, 56.66, -8.09)
CIE-LCHlch(42.78, 57.23, 351.87°)
OKLaboklab(52.97% 0.1735 -0.0207)
OKLCHoklch(52.97% 0.175 353.2)
XYZxyz(22.6544, 13.0098, 17.8377)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23274 #32B270
analogous
#B032B2 #B23274 #B23234
triadic
#B23274 #74B232 #3274B2
tetradic
#B23274 #B2B032 #32B270 #3234B2
square
#B23274 #B2B032 #32B270 #3234B2
split-complementary
#B23274 #34B232 #32B2B0
monochromatic
#521736 #822555 #B23274 #CF5393 #DC82B1

Accessibility & contrast

On white

5.83
#B23274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B23274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23274
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23274#FFFFFF#000000##FFFFFF
##B232741.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485676
Deuteranopia (green-blind)
#6C6E71
Tritanopia (blue-blind)
#C0274F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23274;
/* rgb */ color: rgb(178, 50, 116);
/* oklch */ color: oklch(53.0% 0.175 353.2);
Tailwind
colors: {
  custom: {
    50: '#cd759c',
    500: '#b23274',
    950: '#000000',
  },
}
SCSS
$custom: #b23274;
$custom-light: #cd759c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23274",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 329.063,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52974,
    "c": 0.17472,
    "h": 353.2
  },
  "luminance": 0.13007
}

Semantic roles & 50–950 ramp

primary
#B23274
secondary
#7BC59F
accent
#DF9248
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23274

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

Preview Lab → · Contrast checker → · Palette generator →

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