#B2245A#B2245A

#B2245A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.180 H 3.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B2245A
RGBrgb(178, 36, 90)
HSLhsl(337, 66%, 42%)
HSVhsv(337, 80%, 70%)
CMYKcmyk(0%, 79.8%, 49.4%, 30.2%)
CIE-LABlab(40.36, 58.57, 4.62)
CIE-LCHlch(40.36, 58.76, 4.51°)
OKLaboklab(50.93% 0.1795 0.0124)
OKLCHoklch(50.93% 0.18 3.9)
XYZxyz(20.8383, 11.4678, 10.7871)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2245A #24B27C
analogous
#B224A1 #B2245A #B23524
triadic
#B2245A #5AB224 #245AB2
tetradic
#B2245A #A1B224 #24B27C #3524B2
square
#B2245A #A1B224 #24B27C #3524B2
split-complementary
#B2245A #24B235 #24A1B2
monochromatic
#4C0F27 #7F1A40 #B2245A #D83C77 #E26F9A

Accessibility & contrast

On white

6.38
#B2245A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B2245A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2245A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2245A#FFFFFF#000000##FFFFFF
##B2245A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#C2003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b2245a;
/* rgb */ color: rgb(178, 36, 90);
/* oklch */ color: oklch(50.9% 0.180 3.9);
Tailwind
colors: {
  custom: {
    50: '#cf6e88',
    500: '#b2245a',
    950: '#000000',
  },
}
SCSS
$custom: #b2245a;
$custom-light: #cf6e88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2245a",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 337.183,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.17988,
    "h": 3.9
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#B2245A
secondary
#69C8A4
accent
#E9A83F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2245A

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

Preview Lab → · Contrast checker → · Palette generator →

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