#B2388E#B2388E

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

Color values

HEX#B2388E
RGBrgb(178, 56, 142)
HSLhsl(318, 52%, 46%)
HSVhsv(318, 69%, 70%)
CMYKcmyk(0%, 68.5%, 20.2%, 30.2%)
CIE-LABlab(44.59, 57.74, -21.25)
CIE-LCHlch(44.59, 61.52, 339.80°)
OKLaboklab(54.63% 0.1727 -0.057)
OKLCHoklch(54.63% 0.182 341.7)
XYZxyz(24.6575, 14.2487, 27.0376)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2388E #38B25C
analogous
#9938B2 #B2388E #B23851
triadic
#B2388E #8EB238 #388EB2
tetradic
#B2388E #B29938 #38B25C #3851B2
square
#B2388E #B29938 #38B25C #3851B2
split-complementary
#B2388E #51B238 #38B299
monochromatic
#551B44 #832969 #B2388E #CC5CAB #DA8AC3

Accessibility & contrast

On white

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

On black

3.85
#B2388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B2388E#FFFFFF#000000##FFFFFF
##B2388E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#BD3A5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2388e;
/* rgb */ color: rgb(178, 56, 142);
/* oklch */ color: oklch(54.6% 0.182 341.7);
Tailwind
colors: {
  custom: {
    50: '#cd78af',
    500: '#b2388e',
    950: '#000000',
  },
}
SCSS
$custom: #b2388e;
$custom-light: #cd78af;
$custom-dark: #000000;
JSON
{
  "hex": "#b2388e",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 317.705,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.1819,
    "h": 341.7
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#B2388E
secondary
#81C595
accent
#DC774C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B2388E

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

Preview Lab → · Contrast checker → · Palette generator →

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