#B2237E#B2237E

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

Color values

HEX#B2237E
RGBrgb(178, 35, 126)
HSLhsl(322, 67%, 42%)
HSVhsv(322, 80%, 70%)
CMYKcmyk(0%, 80.3%, 29.2%, 30.2%)
CIE-LABlab(41.49, 62.52, -16.22)
CIE-LCHlch(41.49, 64.59, 345.46°)
OKLaboklab(52.16% 0.1908 -0.0428)
OKLCHoklch(52.16% 0.196 347.3)
XYZxyz(22.7282, 12.1760, 20.8879)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2237E #23B257
analogous
#9F23B2 #B2237E #B22337
triadic
#B2237E #7EB223 #237EB2
tetradic
#B2237E #B29F23 #23B257 #2337B2
square
#B2237E #B29F23 #23B257 #2337B2
split-complementary
#B2237E #37B223 #23B29F
monochromatic
#4C0F36 #7F195A #B2237E #D83A9F #E26DB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2237E#FFFFFF#000000##FFFFFF
##B2237E1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#BF1C4E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2237e;
/* rgb */ color: rgb(178, 35, 126);
/* oklch */ color: oklch(52.2% 0.196 347.3);
Tailwind
colors: {
  custom: {
    50: '#ce6fa3',
    500: '#b2237e',
    950: '#000000',
  },
}
SCSS
$custom: #b2237e;
$custom-light: #ce6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2237e",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 321.818,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.1955,
    "h": 347.3
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#B2237E
secondary
#68C98B
accent
#EA7C3E
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B2237E

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

Preview Lab → · Contrast checker → · Palette generator →

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