#B2247C#B2247C

#B2247C is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.194 H 348.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B2247C
RGBrgb(178, 36, 124)
HSLhsl(323, 66%, 42%)
HSVhsv(323, 80%, 70%)
CMYKcmyk(0%, 79.8%, 30.3%, 30.2%)
CIE-LABlab(41.51, 62.02, -14.96)
CIE-LCHlch(41.51, 63.80, 346.44°)
OKLaboklab(52.15% 0.1895 -0.0394)
OKLCHoklch(52.15% 0.194 348.3)
XYZxyz(22.6303, 12.1846, 20.2250)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2247C #24B25A
analogous
#A124B2 #B2247C #B22435
triadic
#B2247C #7CB224 #247CB2
tetradic
#B2247C #B2A124 #24B25A #2435B2
square
#B2247C #B2A124 #24B25A #2435B2
split-complementary
#B2247C #35B224 #24B2A1
monochromatic
#4C0F35 #7F1A59 #B2247C #D83C9C #E26FB6

Accessibility & contrast

On white

6.11
#B2247C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B2247C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2247C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2247C#FFFFFF#000000##FFFFFF
##B2247C1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#BF1B4E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2247c;
/* rgb */ color: rgb(178, 36, 124);
/* oklch */ color: oklch(52.1% 0.194 348.3);
Tailwind
colors: {
  custom: {
    50: '#ce6fa2',
    500: '#b2247c',
    950: '#000000',
  },
}
SCSS
$custom: #b2247c;
$custom-light: #ce6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2247c",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 322.817,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.19352,
    "h": 348.3
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#B2247C
secondary
#69C88E
accent
#E97F3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B2247C

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

Preview Lab → · Contrast checker → · Palette generator →

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