#B2397F#B2397F

#B2397F is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.1% C 0.172 H 348.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B2397F
RGBrgb(178, 57, 127)
HSLhsl(325, 51%, 46%)
HSVhsv(325, 68%, 70%)
CMYKcmyk(0%, 68%, 28.7%, 30.2%)
CIE-LABlab(44.13, 55.34, -12.83)
CIE-LCHlch(44.13, 56.81, 346.95°)
OKLaboklab(54.1% 0.1682 -0.0336)
OKLCHoklch(54.1% 0.172 348.7)
XYZxyz(23.6551, 13.9261, 21.5168)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2397F #39B26C
analogous
#A839B2 #B2397F #B23943
triadic
#B2397F #7FB239 #397FB2
tetradic
#B2397F #B2A839 #39B26C #3943B2
square
#B2397F #B2A839 #39B26C #3943B2
split-complementary
#B2397F #43B239 #39B2A8
monochromatic
#551B3D #842A5E #B2397F #CB5D9D #DA8BB9

Accessibility & contrast

On white

5.55
#B2397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B2397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2397F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2397F#FFFFFF#000000##FFFFFF
##B2397F1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B81
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#BE3457
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b2397f;
/* rgb */ color: rgb(178, 57, 127);
/* oklch */ color: oklch(54.1% 0.172 348.7);
Tailwind
colors: {
  custom: {
    50: '#cd78a4',
    500: '#b2397f',
    950: '#000000',
  },
}
SCSS
$custom: #b2397f;
$custom-light: #cd78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2397f",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 325.289,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.17153,
    "h": 348.7
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#B2397F
secondary
#82C49E
accent
#DB894D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B2397F

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

Preview Lab → · Contrast checker → · Palette generator →

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