#B02751#B02751

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

Color values

HEX#B02751
RGBrgb(176, 39, 81)
HSLhsl(342, 64%, 42%)
HSVhsv(342, 78%, 69%)
CMYKcmyk(0%, 77.8%, 54%, 31%)
CIE-LABlab(40.05, 56.40, 9.83)
CIE-LCHlch(40.05, 57.25, 9.89°)
OKLaboklab(50.55% 0.1717 0.0251)
OKLCHoklch(50.55% 0.173 8.3)
XYZxyz(20.1171, 11.2781, 8.9006)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02751 #27B086
analogous
#B02796 #B02751 #B04227
triadic
#B02751 #51B027 #2751B0
tetradic
#B02751 #96B027 #27B086 #4227B0
square
#B02751 #96B027 #27B086 #4227B0
split-complementary
#B02751 #27B042 #2796B0
monochromatic
#4C1123 #7E1C3A #B02751 #D5406D #E07293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02751#FFFFFF#000000##FFFFFF
##B027511.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)
#4B4D52
Deuteranopia (green-blind)
#6F684E
Tritanopia (blue-blind)
#C00039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02751;
/* rgb */ color: rgb(176, 39, 81);
/* oklch */ color: oklch(50.6% 0.173 8.3);
Tailwind
colors: {
  custom: {
    50: '#ce6f81',
    500: '#b02751',
    950: '#000000',
  },
}
SCSS
$custom: #b02751;
$custom-light: #ce6f81;
$custom-dark: #000000;
JSON
{
  "hex": "#b02751",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 341.606,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.17349,
    "h": 8.3
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#B02751
secondary
#6CC7AB
accent
#E7B441
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02751

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

Preview Lab → · Contrast checker → · Palette generator →

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