#B2237D#B2237D

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

Color values

HEX#B2237D
RGBrgb(178, 35, 125)
HSLhsl(322, 67%, 42%)
HSVhsv(322, 80%, 70%)
CMYKcmyk(0%, 80.3%, 29.8%, 30.2%)
CIE-LABlab(41.45, 62.41, -15.66)
CIE-LCHlch(41.45, 64.34, 345.91°)
OKLaboklab(52.12% 0.1905 -0.0413)
OKLCHoklch(52.12% 0.195 347.8)
XYZxyz(22.6640, 12.1504, 20.5498)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2237D #23B258
analogous
#A023B2 #B2237D #B22335
triadic
#B2237D #7DB223 #237DB2
tetradic
#B2237D #B2A023 #23B258 #2335B2
square
#B2237D #B2A023 #23B258 #2335B2
split-complementary
#B2237D #35B223 #23B2A0
monochromatic
#4C0F35 #7F1959 #B2237D #D83A9E #E26DB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2237D#FFFFFF#000000##FFFFFF
##B2237D1.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)
#3B527F
Deuteranopia (green-blind)
#656B7A
Tritanopia (blue-blind)
#BF1B4E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2237d;
/* rgb */ color: rgb(178, 35, 125);
/* oklch */ color: oklch(52.1% 0.195 347.8);
Tailwind
colors: {
  custom: {
    50: '#ce6fa2',
    500: '#b2237d',
    950: '#000000',
  },
}
SCSS
$custom: #b2237d;
$custom-light: #ce6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2237d",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 322.238,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.19496,
    "h": 347.8
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#B2237D
secondary
#68C98C
accent
#EA7E3E
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B2237D

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

Preview Lab → · Contrast checker → · Palette generator →

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