#B2317D#B2317D

#B2317D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.180 H 348.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B2317D
RGBrgb(178, 49, 125)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 72%, 70%)
CMYKcmyk(0%, 72.5%, 29.8%, 30.2%)
CIE-LABlab(42.98, 58.08, -13.34)
CIE-LCHlch(42.98, 59.59, 347.07°)
OKLaboklab(53.23% 0.177 -0.035)
OKLCHoklch(53.23% 0.18 348.8)
XYZxyz(23.1612, 13.1449, 20.7155)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2317D #31B266
analogous
#A731B2 #B2317D #B2313D
triadic
#B2317D #7DB231 #317DB2
tetradic
#B2317D #B2A731 #31B266 #313DB2
square
#B2317D #B2A731 #31B266 #313DB2
split-complementary
#B2317D #3DB231 #31B2A7
monochromatic
#52173A #82245B #B2317D #CF519B #DC81B7

Accessibility & contrast

On white

5.79
#B2317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2317D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2317D#FFFFFF#000000##FFFFFF
##B2317D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577F
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#BF2B53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2317d;
/* rgb */ color: rgb(178, 49, 125);
/* oklch */ color: oklch(53.2% 0.180 348.8);
Tailwind
colors: {
  custom: {
    50: '#cd74a2',
    500: '#b2317d',
    950: '#000000',
  },
}
SCSS
$custom: #b2317d;
$custom-light: #cd74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2317d",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 324.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.18041,
    "h": 348.8
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#B2317D
secondary
#79C599
accent
#E08648
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2317D

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

Preview Lab → · Contrast checker → · Palette generator →

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