#B2317E#B2317E

#B2317E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.181 H 348.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B2317E
RGBrgb(178, 49, 126)
HSLhsl(324, 57%, 45%)
HSVhsv(324, 72%, 70%)
CMYKcmyk(0%, 72.5%, 29.2%, 30.2%)
CIE-LABlab(43.02, 58.20, -13.89)
CIE-LCHlch(43.02, 59.84, 346.57°)
OKLaboklab(53.27% 0.1772 -0.0365)
OKLCHoklch(53.27% 0.181 348.4)
XYZxyz(23.2254, 13.1705, 21.0537)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2317E #31B265
analogous
#A631B2 #B2317E #B2313E
triadic
#B2317E #7EB231 #317EB2
tetradic
#B2317E #B2A631 #31B265 #313EB2
square
#B2317E #B2A631 #31B265 #313EB2
split-complementary
#B2317E #3EB231 #31B2A6
monochromatic
#52173A #82245C #B2317E #CF519C #DC81B8

Accessibility & contrast

On white

5.78
#B2317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B2317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2317E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2317E#FFFFFF#000000##FFFFFF
##B2317E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445780
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#BF2B53
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2317e;
/* rgb */ color: rgb(178, 49, 126);
/* oklch */ color: oklch(53.3% 0.181 348.4);
Tailwind
colors: {
  custom: {
    50: '#cd74a3',
    500: '#b2317e',
    950: '#000000',
  },
}
SCSS
$custom: #b2317e;
$custom-light: #cd74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2317e",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 324.186,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.18096,
    "h": 348.4
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#B2317E
secondary
#79C598
accent
#E08548
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2317E

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

Preview Lab → · Contrast checker → · Palette generator →

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