#B22382#B22382

#B22382 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.198 H 345.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B22382
RGBrgb(178, 35, 130)
HSLhsl(320, 67%, 42%)
HSVhsv(320, 80%, 70%)
CMYKcmyk(0%, 80.3%, 27%, 30.2%)
CIE-LABlab(41.66, 63.01, -18.43)
CIE-LCHlch(41.66, 65.65, 343.69°)
OKLaboklab(52.34% 0.1915 -0.049)
OKLCHoklch(52.34% 0.198 345.7)
XYZxyz(22.9915, 12.2814, 22.2745)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22382 #23B253
analogous
#9B23B2 #B22382 #B2233B
triadic
#B22382 #82B223 #2382B2
tetradic
#B22382 #B29B23 #23B253 #233BB2
square
#B22382 #B29B23 #23B253 #233BB2
split-complementary
#B22382 #3BB223 #23B29B
monochromatic
#4C0F37 #7F195D #B22382 #D83AA3 #E26DBB

Accessibility & contrast

On white

6.08
#B22382 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B22382 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22382
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22382#FFFFFF#000000##FFFFFF
##B223821.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#BE1F51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22382;
/* rgb */ color: rgb(178, 35, 130);
/* oklch */ color: oklch(52.3% 0.198 345.7);
Tailwind
colors: {
  custom: {
    50: '#ce6fa6',
    500: '#b22382',
    950: '#000000',
  },
}
SCSS
$custom: #b22382;
$custom-light: #ce6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22382",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 320.14,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.1977,
    "h": 345.7
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#B22382
secondary
#68C989
accent
#EA783E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B22382

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

Preview Lab → · Contrast checker → · Palette generator →

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