#B2388F#B2388F

#B2388F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.183 H 341.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B2388F
RGBrgb(178, 56, 143)
HSLhsl(317, 52%, 46%)
HSVhsv(317, 69%, 70%)
CMYKcmyk(0%, 68.5%, 19.7%, 30.2%)
CIE-LABlab(44.63, 57.88, -21.79)
CIE-LCHlch(44.63, 61.84, 339.37°)
OKLaboklab(54.67% 0.1729 -0.0585)
OKLCHoklch(54.67% 0.183 341.3)
XYZxyz(24.7329, 14.2789, 27.4348)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2388F #38B25B
analogous
#9838B2 #B2388F #B23852
triadic
#B2388F #8FB238 #388FB2
tetradic
#B2388F #B29838 #38B25B #3852B2
square
#B2388F #B29838 #38B25B #3852B2
split-complementary
#B2388F #52B238 #38B298
monochromatic
#551B44 #83296A #B2388F #CC5CAB #DA8AC3

Accessibility & contrast

On white

5.45
#B2388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B2388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2388F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2388F#FFFFFF#000000##FFFFFF
##B2388F1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#BD3A5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b2388f;
/* rgb */ color: rgb(178, 56, 143);
/* oklch */ color: oklch(54.7% 0.183 341.3);
Tailwind
colors: {
  custom: {
    50: '#cd78b0',
    500: '#b2388f',
    950: '#000000',
  },
}
SCSS
$custom: #b2388f;
$custom-light: #cd78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2388f",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 317.213,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.18255,
    "h": 341.3
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2388F

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

Preview Lab → · Contrast checker → · Palette generator →

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