#B2398D#B2398D

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

Color values

HEX#B2398D
RGBrgb(178, 57, 141)
HSLhsl(318, 51%, 46%)
HSVhsv(318, 68%, 70%)
CMYKcmyk(0%, 68%, 20.8%, 30.2%)
CIE-LABlab(44.68, 57.21, -20.49)
CIE-LCHlch(44.68, 60.77, 340.29°)
OKLaboklab(54.68% 0.1714 -0.0549)
OKLCHoklch(54.68% 0.18 342.2)
XYZxyz(24.6317, 14.3167, 26.6603)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2398D #39B25E
analogous
#9A39B2 #B2398D #B23950
triadic
#B2398D #8DB239 #398DB2
tetradic
#B2398D #B29A39 #39B25E #3950B2
square
#B2398D #B29A39 #39B25E #3950B2
split-complementary
#B2398D #50B239 #39B29A
monochromatic
#551B44 #842A68 #B2398D #CB5DA9 #DA8BC2

Accessibility & contrast

On white

5.44
#B2398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2398D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2398D#FFFFFF#000000##FFFFFF
##B2398D1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#BD3A5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b2398d;
/* rgb */ color: rgb(178, 57, 141);
/* oklch */ color: oklch(54.7% 0.180 342.2);
Tailwind
colors: {
  custom: {
    50: '#cd79ae',
    500: '#b2398d',
    950: '#000000',
  },
}
SCSS
$custom: #b2398d;
$custom-light: #cd79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2398d",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 318.347,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.17994,
    "h": 342.2
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#B2398D
secondary
#82C497
accent
#DB784D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B2398D

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

Preview Lab → · Contrast checker → · Palette generator →

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