#B2317F#B2317F

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

Color values

HEX#B2317F
RGBrgb(178, 49, 127)
HSLhsl(324, 57%, 45%)
HSVhsv(324, 72%, 70%)
CMYKcmyk(0%, 72.5%, 28.7%, 30.2%)
CIE-LABlab(43.06, 58.32, -14.45)
CIE-LCHlch(43.06, 60.09, 346.08°)
OKLaboklab(53.31% 0.1775 -0.038)
OKLCHoklch(53.31% 0.182 347.9)
XYZxyz(23.2903, 13.1965, 21.3952)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2317F #31B264
analogous
#A531B2 #B2317F #B2313F
triadic
#B2317F #7FB231 #317FB2
tetradic
#B2317F #B2A531 #31B264 #313FB2
square
#B2317F #B2A531 #31B264 #313FB2
split-complementary
#B2317F #3FB231 #31B2A5
monochromatic
#52173B #82245D #B2317F #CF519D #DC81B8

Accessibility & contrast

On white

5.77
#B2317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B2317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2317F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2317F#FFFFFF#000000##FFFFFF
##B2317F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#BF2C54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2317f;
/* rgb */ color: rgb(178, 49, 127);
/* oklch */ color: oklch(53.3% 0.181 347.9);
Tailwind
colors: {
  custom: {
    50: '#cd74a4',
    500: '#b2317f',
    950: '#000000',
  },
}
SCSS
$custom: #b2317f;
$custom-light: #cd74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2317f",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 323.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.1815,
    "h": 347.9
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#B2317F
secondary
#79C597
accent
#E08448
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2317F

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

Preview Lab → · Contrast checker → · Palette generator →

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