#B2237A#B2237A

#B2237A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.193 H 349.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B2237A
RGBrgb(178, 35, 122)
HSLhsl(323, 67%, 42%)
HSVhsv(323, 80%, 70%)
CMYKcmyk(0%, 80.3%, 31.5%, 30.2%)
CIE-LABlab(41.33, 62.06, -13.99)
CIE-LCHlch(41.33, 63.61, 347.30°)
OKLaboklab(51.99% 0.1899 -0.0367)
OKLCHoklch(51.99% 0.193 349.1)
XYZxyz(22.4752, 12.0749, 19.5557)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2237A #23B25B
analogous
#A323B2 #B2237A #B22332
triadic
#B2237A #7AB223 #237AB2
tetradic
#B2237A #B2A323 #23B25B #2332B2
square
#B2237A #B2A323 #23B25B #2332B2
split-complementary
#B2237A #32B223 #23B2A3
monochromatic
#4C0F34 #7F1957 #B2237A #D83A9A #E26DB4

Accessibility & contrast

On white

6.15
#B2237A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B2237A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2237A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2237A#FFFFFF#000000##FFFFFF
##B2237A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527C
Deuteranopia (green-blind)
#666A77
Tritanopia (blue-blind)
#BF194C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2237a;
/* rgb */ color: rgb(178, 35, 122);
/* oklch */ color: oklch(52.0% 0.193 349.1);
Tailwind
colors: {
  custom: {
    50: '#ce6fa0',
    500: '#b2237a',
    950: '#000000',
  },
}
SCSS
$custom: #b2237a;
$custom-light: #ce6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2237a",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 323.497,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.19339,
    "h": 349.1
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#B2237A
secondary
#68C98E
accent
#EA813E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B2237A

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

Preview Lab → · Contrast checker → · Palette generator →

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