#B2237C#B2237C

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

Color values

HEX#B2237C
RGBrgb(178, 35, 124)
HSLhsl(323, 67%, 42%)
HSVhsv(323, 80%, 70%)
CMYKcmyk(0%, 80.3%, 30.3%, 30.2%)
CIE-LABlab(41.41, 62.29, -15.11)
CIE-LCHlch(41.41, 64.09, 346.37°)
OKLaboklab(52.08% 0.1903 -0.0397)
OKLCHoklch(52.08% 0.194 348.2)
XYZxyz(22.6004, 12.1249, 20.2151)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2237C #23B259
analogous
#A123B2 #B2237C #B22335
triadic
#B2237C #7CB223 #237CB2
tetradic
#B2237C #B2A123 #23B259 #2335B2
square
#B2237C #B2A123 #23B259 #2335B2
split-complementary
#B2237C #35B223 #23B2A1
monochromatic
#4C0F35 #7F1958 #B2237C #D83A9C #E26DB6

Accessibility & contrast

On white

6.13
#B2237C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B2237C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2237C
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2237C#FFFFFF#000000##FFFFFF
##B2237C1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#666A79
Tritanopia (blue-blind)
#BF1A4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2237c;
/* rgb */ color: rgb(178, 35, 124);
/* oklch */ color: oklch(52.1% 0.194 348.2);
Tailwind
colors: {
  custom: {
    50: '#ce6fa2',
    500: '#b2237c',
    950: '#000000',
  },
}
SCSS
$custom: #b2237c;
$custom-light: #ce6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2237c",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 322.657,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.19443,
    "h": 348.2
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#B2237C
secondary
#68C98D
accent
#EA7F3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B2237C

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

Preview Lab → · Contrast checker → · Palette generator →

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