#B2348C#B2348C

#B2348C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.186 H 342.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B2348C
RGBrgb(178, 52, 140)
HSLhsl(318, 55%, 45%)
HSVhsv(318, 71%, 70%)
CMYKcmyk(0%, 70.8%, 21.3%, 30.2%)
CIE-LABlab(43.97, 58.95, -20.99)
CIE-LCHlch(43.97, 62.58, 340.40°)
OKLaboklab(54.15% 0.1769 -0.0563)
OKLCHoklch(54.15% 0.186 342.4)
XYZxyz(24.3225, 13.8168, 26.1918)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2348C #34B25A
analogous
#9934B2 #B2348C #B2344D
triadic
#B2348C #8CB234 #348CB2
tetradic
#B2348C #B29934 #34B25A #344DB2
square
#B2348C #B29934 #34B25A #344DB2
split-complementary
#B2348C #4DB234 #34B299
monochromatic
#531841 #832667 #B2348C #CE56A9 #DB85C1

Accessibility & contrast

On white

5.58
#B2348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B2348C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2348C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2348C#FFFFFF#000000##FFFFFF
##B2348C1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8E
Deuteranopia (green-blind)
#666F89
Tritanopia (blue-blind)
#BD355B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b2348c;
/* rgb */ color: rgb(178, 52, 140);
/* oklch */ color: oklch(54.1% 0.186 342.4);
Tailwind
colors: {
  custom: {
    50: '#cd76ad',
    500: '#b2348c',
    950: '#000000',
  },
}
SCSS
$custom: #b2348c;
$custom-light: #cd76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b2348c",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 318.095,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.18563,
    "h": 342.4
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#B2348C
secondary
#7DC593
accent
#DE764A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2348C

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

Preview Lab → · Contrast checker → · Palette generator →

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