#B3218C#B3218C

#B3218C is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.206 H 341.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B3218C
RGBrgb(179, 33, 140)
HSLhsl(316, 69%, 42%)
HSVhsv(316, 82%, 70%)
CMYKcmyk(0%, 81.6%, 21.8%, 29.8%)
CIE-LABlab(42.10, 65.00, -23.86)
CIE-LCHlch(42.10, 69.24, 339.84°)
OKLaboklab(52.83% 0.1956 -0.0642)
OKLCHoklch(52.83% 0.206 341.8)
XYZxyz(23.8688, 12.5674, 25.9746)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3218C #21B348
analogous
#9121B3 #B3218C #B32143
triadic
#B3218C #8CB321 #218CB3
tetradic
#B3218C #B39121 #21B348 #2143B3
square
#B3218C #B39121 #21B348 #2143B3
split-complementary
#B3218C #43B321 #21B391
monochromatic
#4C0E3B #7F1764 #B3218C #DA37AF #E46BC3

Accessibility & contrast

On white

5.98
#B3218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B3218C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3218C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3218C#FFFFFF#000000##FFFFFF
##B3218C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548F
Deuteranopia (green-blind)
#616C89
Tritanopia (blue-blind)
#BE2456
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3218c;
/* rgb */ color: rgb(179, 33, 140);
/* oklch */ color: oklch(52.8% 0.206 341.8);
Tailwind
colors: {
  custom: {
    50: '#ce6fae',
    500: '#b3218c',
    950: '#000000',
  },
}
SCSS
$custom: #b3218c;
$custom-light: #ce6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3218c",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 316.027,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.20588,
    "h": 341.8
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#B3218C
secondary
#66CA81
accent
#EC6B3C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3218C

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

Preview Lab → · Contrast checker → · Palette generator →

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