#B2247B#B2247B

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

Color values

HEX#B2247B
RGBrgb(178, 36, 123)
HSLhsl(323, 66%, 42%)
HSVhsv(323, 80%, 70%)
CMYKcmyk(0%, 79.8%, 30.9%, 30.2%)
CIE-LABlab(41.47, 61.90, -14.40)
CIE-LCHlch(41.47, 63.56, 346.90°)
OKLaboklab(52.1% 0.1893 -0.0378)
OKLCHoklch(52.1% 0.193 348.7)
XYZxyz(22.5674, 12.1595, 19.8936)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2247B #24B25B
analogous
#A224B2 #B2247B #B22434
triadic
#B2247B #7BB224 #247BB2
tetradic
#B2247B #B2A224 #24B25B #2434B2
square
#B2247B #B2A224 #24B25B #2434B2
split-complementary
#B2247B #34B224 #24B2A2
monochromatic
#4C0F35 #7F1A58 #B2247B #D83C9B #E26FB5

Accessibility & contrast

On white

6.12
#B2247B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B2247B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2247B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2247B#FFFFFF#000000##FFFFFF
##B2247B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527D
Deuteranopia (green-blind)
#666B78
Tritanopia (blue-blind)
#BF1B4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2247b;
/* rgb */ color: rgb(178, 36, 123);
/* oklch */ color: oklch(52.1% 0.193 348.7);
Tailwind
colors: {
  custom: {
    50: '#ce6fa1',
    500: '#b2247b',
    950: '#000000',
  },
}
SCSS
$custom: #b2247b;
$custom-light: #ce6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2247b",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 323.239,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.193,
    "h": 348.7
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2247B

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

Preview Lab → · Contrast checker → · Palette generator →

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