#B2254A#B2254A

#B2254A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 11.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B2254A
RGBrgb(178, 37, 74)
HSLhsl(344, 66%, 42%)
HSVhsv(344, 79%, 70%)
CMYKcmyk(0%, 79.2%, 58.4%, 30.2%)
CIE-LABlab(40.06, 57.05, 14.34)
CIE-LCHlch(40.06, 58.83, 14.11°)
OKLaboklab(50.58% 0.1725 0.0357)
OKLCHoklch(50.58% 0.176 11.7)
XYZxyz(20.2597, 11.2855, 7.5888)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2254A #25B28D
analogous
#B22591 #B2254A #B24625
triadic
#B2254A #4AB225 #254AB2
tetradic
#B2254A #91B225 #25B28D #4625B2
square
#B2254A #91B225 #25B28D #4625B2
split-complementary
#B2254A #25B246 #2591B2
monochromatic
#4D1020 #7F1A35 #B2254A #D73D66 #E1708E

Accessibility & contrast

On white

6.45
#B2254A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B2254A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2254A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2254A#FFFFFF#000000##FFFFFF
##B2254A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C4B
Deuteranopia (green-blind)
#716946
Tritanopia (blue-blind)
#C30035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b2254a;
/* rgb */ color: rgb(178, 37, 74);
/* oklch */ color: oklch(50.6% 0.176 11.7);
Tailwind
colors: {
  custom: {
    50: '#d06e7c',
    500: '#b2254a',
    950: '#000000',
  },
}
SCSS
$custom: #b2254a;
$custom-light: #d06e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2254a",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 344.255,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.17612,
    "h": 11.7
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#B2254A
secondary
#6BC8B0
accent
#E9BC3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B2254A

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

Preview Lab → · Contrast checker → · Palette generator →

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