#B2388D#B2388D

#B2388D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.181 H 342.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B2388D
RGBrgb(178, 56, 141)
HSLhsl(318, 52%, 46%)
HSVhsv(318, 69%, 70%)
CMYKcmyk(0%, 68.5%, 20.8%, 30.2%)
CIE-LABlab(44.55, 57.60, -20.71)
CIE-LCHlch(44.55, 61.21, 340.22°)
OKLaboklab(54.58% 0.1725 -0.0555)
OKLCHoklch(54.58% 0.181 342.2)
XYZxyz(24.5827, 14.2188, 26.6440)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2388D #38B25D
analogous
#9A38B2 #B2388D #B23850
triadic
#B2388D #8DB238 #388DB2
tetradic
#B2388D #B29A38 #38B25D #3850B2
square
#B2388D #B29A38 #38B25D #3850B2
split-complementary
#B2388D #50B238 #38B29A
monochromatic
#551B43 #832968 #B2388D #CC5CAA #DA8AC2

Accessibility & contrast

On white

5.46
#B2388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B2388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2388D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2388D#FFFFFF#000000##FFFFFF
##B2388D1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D8F
Deuteranopia (green-blind)
#67718A
Tritanopia (blue-blind)
#BD395D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2388d;
/* rgb */ color: rgb(178, 56, 141);
/* oklch */ color: oklch(54.6% 0.181 342.2);
Tailwind
colors: {
  custom: {
    50: '#cd78ae',
    500: '#b2388d',
    950: '#000000',
  },
}
SCSS
$custom: #b2388d;
$custom-light: #cd78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2388d",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 318.197,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.18125,
    "h": 342.2
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#B2388D
secondary
#81C596
accent
#DC784C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B2388D

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

Preview Lab → · Contrast checker → · Palette generator →

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