#B42255#B42255

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

Color values

HEX#B42255
RGBrgb(180, 34, 85)
HSLhsl(339, 68%, 42%)
HSVhsv(339, 81%, 71%)
CMYKcmyk(0%, 81.1%, 52.8%, 29.4%)
CIE-LABlab(40.42, 59.25, 7.93)
CIE-LCHlch(40.42, 59.78, 7.63°)
OKLaboklab(51% 0.181 0.0205)
OKLCHoklch(51% 0.182 6.5)
XYZxyz(21.0361, 11.5063, 9.7058)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42255 #22B481
analogous
#B4229E #B42255 #B43822
triadic
#B42255 #55B422 #2255B4
tetradic
#B42255 #9EB422 #22B481 #3822B4
square
#B42255 #9EB422 #22B481 #3822B4
split-complementary
#B42255 #22B438 #229EB4
monochromatic
#4D0F24 #81183D #B42255 #DA3A71 #E36D96

Accessibility & contrast

On white

6.36
#B42255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B42255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42255
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42255#FFFFFF#000000##FFFFFF
##B422551.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D56
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42255;
/* rgb */ color: rgb(180, 34, 85);
/* oklch */ color: oklch(51.0% 0.182 6.5);
Tailwind
colors: {
  custom: {
    50: '#d16e84',
    500: '#b42255',
    950: '#000000',
  },
}
SCSS
$custom: #b42255;
$custom-light: #d16e84;
$custom-dark: #000000;
JSON
{
  "hex": "#b42255",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 339.041,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.18211,
    "h": 6.5
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#B42255
secondary
#68CAA8
accent
#EBAE3D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42255

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

Preview Lab → · Contrast checker → · Palette generator →

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