#B2398E#B2398E

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

Color values

HEX#B2398E
RGBrgb(178, 57, 142)
HSLhsl(318, 51%, 46%)
HSVhsv(318, 68%, 70%)
CMYKcmyk(0%, 68%, 20.2%, 30.2%)
CIE-LABlab(44.73, 57.35, -21.03)
CIE-LCHlch(44.73, 61.09, 339.86°)
OKLaboklab(54.73% 0.1716 -0.0564)
OKLCHoklch(54.73% 0.181 341.8)
XYZxyz(24.7064, 14.3466, 27.0539)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2398E #39B25D
analogous
#9939B2 #B2398E #B23951
triadic
#B2398E #8EB239 #398EB2
tetradic
#B2398E #B29939 #39B25D #3951B2
square
#B2398E #B29939 #39B25D #3951B2
split-complementary
#B2398E #51B239 #39B299
monochromatic
#551B44 #842A69 #B2398E #CB5DAA #DA8BC3

Accessibility & contrast

On white

5.43
#B2398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B2398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2398E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2398E#FFFFFF#000000##FFFFFF
##B2398E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D90
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#BD3B5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b2398e;
/* rgb */ color: rgb(178, 57, 142);
/* oklch */ color: oklch(54.7% 0.181 341.8);
Tailwind
colors: {
  custom: {
    50: '#cd79af',
    500: '#b2398e',
    950: '#000000',
  },
}
SCSS
$custom: #b2398e;
$custom-light: #cd79af;
$custom-dark: #000000;
JSON
{
  "hex": "#b2398e",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 317.851,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.1806,
    "h": 341.8
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#B2398E
secondary
#82C496
accent
#DB774D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B2398E

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

Preview Lab → · Contrast checker → · Palette generator →

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