#B2317C#B2317C

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

Color values

HEX#B2317C
RGBrgb(178, 49, 124)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 72%, 70%)
CMYKcmyk(0%, 72.5%, 30.3%, 30.2%)
CIE-LABlab(42.94, 57.96, -12.78)
CIE-LCHlch(42.94, 59.35, 347.56°)
OKLaboklab(53.19% 0.1768 -0.0334)
OKLCHoklch(53.19% 0.18 349.3)
XYZxyz(23.0977, 13.1194, 20.3808)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2317C #31B267
analogous
#A731B2 #B2317C #B2313C
triadic
#B2317C #7CB231 #317CB2
tetradic
#B2317C #B2A731 #31B267 #313CB2
square
#B2317C #B2A731 #31B267 #313CB2
split-complementary
#B2317C #3CB231 #31B2A7
monochromatic
#521739 #82245B #B2317C #CF519A #DC81B6

Accessibility & contrast

On white

5.80
#B2317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B2317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2317C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2317C#FFFFFF#000000##FFFFFF
##B2317C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#6A6E79
Tritanopia (blue-blind)
#BF2A52
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2317c;
/* rgb */ color: rgb(178, 49, 124);
/* oklch */ color: oklch(53.2% 0.180 349.3);
Tailwind
colors: {
  custom: {
    50: '#cd74a2',
    500: '#b2317c',
    950: '#000000',
  },
}
SCSS
$custom: #b2317c;
$custom-light: #cd74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2317c",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 325.116,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.17989,
    "h": 349.3
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#B2317C
secondary
#79C599
accent
#E08748
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B2317C

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

Preview Lab → · Contrast checker → · Palette generator →

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