#B2255A#B2255A

#B2255A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 4.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B2255A
RGBrgb(178, 37, 90)
HSLhsl(337, 66%, 42%)
HSVhsv(337, 79%, 70%)
CMYKcmyk(0%, 79.2%, 49.4%, 30.2%)
CIE-LABlab(40.46, 58.29, 4.77)
CIE-LCHlch(40.46, 58.48, 4.68°)
OKLaboklab(51% 0.1785 0.0127)
OKLCHoklch(51% 0.179 4.1)
XYZxyz(20.8690, 11.5292, 10.7973)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2255A #25B27D
analogous
#B225A0 #B2255A #B23725
triadic
#B2255A #5AB225 #255AB2
tetradic
#B2255A #A0B225 #25B27D #3725B2
square
#B2255A #A0B225 #25B27D #3725B2
split-complementary
#B2255A #25B237 #25A0B2
monochromatic
#4D1027 #7F1A40 #B2255A #D73D77 #E1709B

Accessibility & contrast

On white

6.35
#B2255A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B2255A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2255A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2255A#FFFFFF#000000##FFFFFF
##B2255A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b2255a;
/* rgb */ color: rgb(178, 37, 90);
/* oklch */ color: oklch(51.0% 0.179 4.1);
Tailwind
colors: {
  custom: {
    50: '#cf6e88',
    500: '#b2255a',
    950: '#000000',
  },
}
SCSS
$custom: #b2255a;
$custom-light: #cf6e88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2255a",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 337.447,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.17898,
    "h": 4.1
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#B2255A
secondary
#6BC8A5
accent
#E9A93F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2255A

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

Preview Lab → · Contrast checker → · Palette generator →

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