#B2318A#B2318A

#B2318A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.188 H 343.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B2318A
RGBrgb(178, 49, 138)
HSLhsl(319, 57%, 45%)
HSVhsv(319, 72%, 70%)
CMYKcmyk(0%, 72.5%, 22.5%, 30.2%)
CIE-LABlab(43.51, 59.74, -20.49)
CIE-LCHlch(43.51, 63.16, 341.07°)
OKLaboklab(53.79% 0.1798 -0.0548)
OKLCHoklch(53.79% 0.188 343)
XYZxyz(24.0467, 13.4990, 25.3790)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2318A #31B259
analogous
#9A31B2 #B2318A #B23149
triadic
#B2318A #8AB231 #318AB2
tetradic
#B2318A #B29A31 #31B259 #3149B2
square
#B2318A #B29A31 #31B259 #3149B2
split-complementary
#B2318A #49B231 #31B29A
monochromatic
#521740 #822465 #B2318A #CF51A8 #DC81C0

Accessibility & contrast

On white

5.68
#B2318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B2318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2318A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2318A#FFFFFF#000000##FFFFFF
##B2318A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#666E87
Tritanopia (blue-blind)
#BD3159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2318a;
/* rgb */ color: rgb(178, 49, 138);
/* oklch */ color: oklch(53.8% 0.188 343.0);
Tailwind
colors: {
  custom: {
    50: '#cd75ac',
    500: '#b2318a',
    950: '#000000',
  },
}
SCSS
$custom: #b2318a;
$custom-light: #cd75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2318a",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 318.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.18796,
    "h": 343
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#B2318A
secondary
#79C591
accent
#E07748
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2318A

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

Preview Lab → · Contrast checker → · Palette generator →

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