#B2399D#B2399D

#B2399D is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.191 H 335.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B2399D
RGBrgb(178, 57, 157)
HSLhsl(310, 51%, 46%)
HSVhsv(310, 68%, 70%)
CMYKcmyk(0%, 68%, 11.8%, 30.2%)
CIE-LABlab(45.40, 59.55, -29.01)
CIE-LCHlch(45.40, 66.24, 334.03°)
OKLaboklab(55.44% 0.1739 -0.079)
OKLCHoklch(55.44% 0.191 335.6)
XYZxyz(25.9093, 14.8278, 33.3892)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2399D #39B24E
analogous
#8A39B2 #B2399D #B23960
triadic
#B2399D #9DB239 #399DB2
tetradic
#B2399D #B28A39 #39B24E #3960B2
square
#B2399D #B28A39 #39B24E #3960B2
split-complementary
#B2399D #60B239 #39B28A
monochromatic
#551B4B #842A74 #B2399D #CB5DB8 #DA8BCC

Accessibility & contrast

On white

5.30
#B2399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B2399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2399D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2399D#FFFFFF#000000##FFFFFF
##B2399D1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#62729A
Tritanopia (blue-blind)
#BB4166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2399d;
/* rgb */ color: rgb(178, 57, 157);
/* oklch */ color: oklch(55.4% 0.191 335.6);
Tailwind
colors: {
  custom: {
    50: '#cc79ba',
    500: '#b2399d',
    950: '#000000',
  },
}
SCSS
$custom: #b2399d;
$custom-light: #cc79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2399d",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 310.413,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.19101,
    "h": 335.6
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#B2399D
secondary
#82C48E
accent
#DB664D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B2399D

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

Preview Lab → · Contrast checker → · Palette generator →

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