#B2398A#B2398A

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

Color values

HEX#B2398A
RGBrgb(178, 57, 138)
HSLhsl(320, 51%, 46%)
HSVhsv(320, 68%, 70%)
CMYKcmyk(0%, 68%, 22.5%, 30.2%)
CIE-LABlab(44.56, 56.80, -18.87)
CIE-LCHlch(44.56, 59.85, 341.62°)
OKLaboklab(54.55% 0.1708 -0.0504)
OKLCHoklch(54.55% 0.178 343.6)
XYZxyz(24.4115, 14.2286, 25.5006)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2398A #39B261
analogous
#9D39B2 #B2398A #B2394D
triadic
#B2398A #8AB239 #398AB2
tetradic
#B2398A #B29D39 #39B261 #394DB2
square
#B2398A #B29D39 #39B261 #394DB2
split-complementary
#B2398A #4DB239 #39B29D
monochromatic
#551B42 #842A66 #B2398A #CB5DA7 #DA8BC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2398A#FFFFFF#000000##FFFFFF
##B2398A1.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)
#455D8C
Deuteranopia (green-blind)
#697187
Tritanopia (blue-blind)
#BD395C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2398a;
/* rgb */ color: rgb(178, 57, 138);
/* oklch */ color: oklch(54.6% 0.178 343.6);
Tailwind
colors: {
  custom: {
    50: '#cd79ac',
    500: '#b2398a',
    950: '#000000',
  },
}
SCSS
$custom: #b2398a;
$custom-light: #cd79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2398a",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 319.835,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.17803,
    "h": 343.6
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2398A

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

Preview Lab → · Contrast checker → · Palette generator →

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