#B23474#B23474

#B23474 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.172 H 353.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B23474
RGBrgb(178, 52, 116)
HSLhsl(330, 55%, 45%)
HSVhsv(330, 71%, 70%)
CMYKcmyk(0%, 70.8%, 34.8%, 30.2%)
CIE-LABlab(43.04, 55.92, -7.70)
CIE-LCHlch(43.04, 56.45, 352.16°)
OKLaboklab(53.17% 0.1712 -0.0197)
OKLCHoklch(53.17% 0.172 353.4)
XYZxyz(22.7418, 13.1846, 17.8669)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23474 #34B272
analogous
#B134B2 #B23474 #B23435
triadic
#B23474 #74B234 #3474B2
tetradic
#B23474 #B2B134 #34B272 #3435B2
square
#B23474 #B2B134 #34B272 #3435B2
split-complementary
#B23474 #35B234 #34B2B1
monochromatic
#531836 #832655 #B23474 #CE5693 #DB85B1

Accessibility & contrast

On white

5.77
#B23474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B23474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23474
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23474#FFFFFF#000000##FFFFFF
##B234741.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5776
Deuteranopia (green-blind)
#6D6E71
Tritanopia (blue-blind)
#C02A4F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23474;
/* rgb */ color: rgb(178, 52, 116);
/* oklch */ color: oklch(53.2% 0.172 353.4);
Tailwind
colors: {
  custom: {
    50: '#cd769c',
    500: '#b23474',
    950: '#000000',
  },
}
SCSS
$custom: #b23474;
$custom-light: #cd769c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23474",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 329.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.17231,
    "h": 353.4
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#B23474
secondary
#7DC5A0
accent
#DE934A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23474

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

Preview Lab → · Contrast checker → · Palette generator →

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