#B2237B#B2237B

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

Color values

HEX#B2237B
RGBrgb(178, 35, 123)
HSLhsl(323, 67%, 42%)
HSVhsv(323, 80%, 70%)
CMYKcmyk(0%, 80.3%, 30.9%, 30.2%)
CIE-LABlab(41.37, 62.17, -14.55)
CIE-LCHlch(41.37, 63.85, 346.83°)
OKLaboklab(52.04% 0.1901 -0.0382)
OKLCHoklch(52.04% 0.194 348.6)
XYZxyz(22.5375, 12.0998, 19.8837)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2237B #23B25A
analogous
#A223B2 #B2237B #B22334
triadic
#B2237B #7BB223 #237BB2
tetradic
#B2237B #B2A223 #23B25A #2334B2
square
#B2237B #B2A223 #23B25A #2334B2
split-complementary
#B2237B #34B223 #23B2A2
monochromatic
#4C0F34 #7F1958 #B2237B #D83A9B #E26DB5

Accessibility & contrast

On white

6.14
#B2237B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2237B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2237B#FFFFFF#000000##FFFFFF
##B2237B1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2237b;
/* rgb */ color: rgb(178, 35, 123);
/* oklch */ color: oklch(52.0% 0.194 348.6);
Tailwind
colors: {
  custom: {
    50: '#ce6fa1',
    500: '#b2237b',
    950: '#000000',
  },
}
SCSS
$custom: #b2237b;
$custom-light: #ce6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2237b",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 323.077,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.1939,
    "h": 348.6
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2237B

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

Preview Lab → · Contrast checker → · Palette generator →

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