#B02557#B02557

#B02557 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.177 H 5.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B02557
RGBrgb(176, 37, 87)
HSLhsl(338, 65%, 42%)
HSVhsv(338, 79%, 69%)
CMYKcmyk(0%, 79%, 50.6%, 31%)
CIE-LABlab(39.99, 57.49, 5.95)
CIE-LCHlch(39.99, 57.79, 5.91°)
OKLaboklab(50.56% 0.1759 0.0157)
OKLCHoklch(50.56% 0.177 5.1)
XYZxyz(20.2882, 11.2442, 10.1170)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02557 #25B07E
analogous
#B0259D #B02557 #B03825
triadic
#B02557 #57B025 #2557B0
tetradic
#B02557 #9DB025 #25B07E #3825B0
square
#B02557 #9DB025 #25B07E #3825B0
split-complementary
#B02557 #25B038 #259DB0
monochromatic
#4B1025 #7D1A3E #B02557 #D63C74 #E16F98

Accessibility & contrast

On white

6.47
#B02557 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B02557 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02557
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02557#FFFFFF#000000##FFFFFF
##B025571.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02557;
/* rgb */ color: rgb(176, 37, 87);
/* oklch */ color: oklch(50.6% 0.177 5.1);
Tailwind
colors: {
  custom: {
    50: '#ce6e86',
    500: '#b02557',
    950: '#000000',
  },
}
SCSS
$custom: #b02557;
$custom-light: #ce6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b02557",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 87
  },
  "hsl": {
    "h": 338.417,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.17655,
    "h": 5.1
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#B02557
secondary
#6AC7A6
accent
#E8AC40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02557

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

Preview Lab → · Contrast checker → · Palette generator →

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