#B2398B#B2398B

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

Color values

HEX#B2398B
RGBrgb(178, 57, 139)
HSLhsl(319, 51%, 46%)
HSVhsv(319, 68%, 70%)
CMYKcmyk(0%, 68%, 21.9%, 30.2%)
CIE-LABlab(44.60, 56.93, -19.41)
CIE-LCHlch(44.60, 60.15, 341.17°)
OKLaboklab(54.6% 0.171 -0.0519)
OKLCHoklch(54.6% 0.179 343.1)
XYZxyz(24.4842, 14.2577, 25.8836)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2398B #39B260
analogous
#9C39B2 #B2398B #B2394E
triadic
#B2398B #8BB239 #398BB2
tetradic
#B2398B #B29C39 #39B260 #394EB2
square
#B2398B #B29C39 #39B260 #394EB2
split-complementary
#B2398B #4EB239 #39B29C
monochromatic
#551B43 #842A67 #B2398B #CB5DA8 #DA8BC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2398B#FFFFFF#000000##FFFFFF
##B2398B1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#BD395D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2398b;
/* rgb */ color: rgb(178, 57, 139);
/* oklch */ color: oklch(54.6% 0.179 343.1);
Tailwind
colors: {
  custom: {
    50: '#cd79ad',
    500: '#b2398b',
    950: '#000000',
  },
}
SCSS
$custom: #b2398b;
$custom-light: #cd79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b2398b",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 319.339,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.17867,
    "h": 343.1
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#B2398B
secondary
#82C498
accent
#DB7B4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B2398B

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

Preview Lab → · Contrast checker → · Palette generator →

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