#B2318D#B2318D

#B2318D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.190 H 341.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B2318D
RGBrgb(178, 49, 141)
HSLhsl(317, 57%, 45%)
HSVhsv(317, 72%, 70%)
CMYKcmyk(0%, 72.5%, 20.8%, 30.2%)
CIE-LABlab(43.63, 60.15, -22.11)
CIE-LCHlch(43.63, 64.09, 339.82°)
OKLaboklab(53.92% 0.1803 -0.0594)
OKLCHoklch(53.92% 0.19 341.8)
XYZxyz(24.2669, 13.5871, 26.5387)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2318D #31B256
analogous
#9631B2 #B2318D #B2314D
triadic
#B2318D #8DB231 #318DB2
tetradic
#B2318D #B29631 #31B256 #314DB2
square
#B2318D #B29631 #31B256 #314DB2
split-complementary
#B2318D #4DB231 #31B296
monochromatic
#521741 #822467 #B2318D #CF51AB #DC81C2

Accessibility & contrast

On white

5.65
#B2318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B2318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2318D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2318D#FFFFFF#000000##FFFFFF
##B2318D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#BD335B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2318d;
/* rgb */ color: rgb(178, 49, 141);
/* oklch */ color: oklch(53.9% 0.190 341.8);
Tailwind
colors: {
  custom: {
    50: '#cd75ae',
    500: '#b2318d',
    950: '#000000',
  },
}
SCSS
$custom: #b2318d;
$custom-light: #cd75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2318d",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 317.209,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.18985,
    "h": 341.8
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#B2318D
secondary
#79C58F
accent
#E07348
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2318D

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

Preview Lab → · Contrast checker → · Palette generator →

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