#B02752#B02752

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

Color values

HEX#B02752
RGBrgb(176, 39, 82)
HSLhsl(341, 64%, 42%)
HSVhsv(341, 78%, 69%)
CMYKcmyk(0%, 77.8%, 53.4%, 31%)
CIE-LABlab(40.07, 56.48, 9.23)
CIE-LCHlch(40.07, 57.23, 9.28°)
OKLaboklab(50.58% 0.172 0.0237)
OKLCHoklch(50.58% 0.174 7.8)
XYZxyz(20.1549, 11.2932, 9.0995)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02752 #27B085
analogous
#B02797 #B02752 #B04127
triadic
#B02752 #52B027 #2752B0
tetradic
#B02752 #97B027 #27B085 #4127B0
square
#B02752 #97B027 #27B085 #4127B0
split-complementary
#B02752 #27B041 #2797B0
monochromatic
#4C1123 #7E1C3B #B02752 #D5406E #E07294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02752#FFFFFF#000000##FFFFFF
##B027521.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)
#4B4D53
Deuteranopia (green-blind)
#6F684F
Tritanopia (blue-blind)
#C0003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02752;
/* rgb */ color: rgb(176, 39, 82);
/* oklch */ color: oklch(50.6% 0.174 7.8);
Tailwind
colors: {
  custom: {
    50: '#ce6f82',
    500: '#b02752',
    950: '#000000',
  },
}
SCSS
$custom: #b02752;
$custom-light: #ce6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#b02752",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 341.168,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.17366,
    "h": 7.8
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#B02752
secondary
#6CC7AA
accent
#E7B341
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02752

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

Preview Lab → · Contrast checker → · Palette generator →

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