#B02757#B02757

#B02757 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.175 H 5.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B02757
RGBrgb(176, 39, 87)
HSLhsl(339, 64%, 42%)
HSVhsv(339, 78%, 69%)
CMYKcmyk(0%, 77.8%, 50.6%, 31%)
CIE-LABlab(40.20, 56.89, 6.25)
CIE-LCHlch(40.20, 57.23, 6.27°)
OKLaboklab(50.72% 0.1739 0.0164)
OKLCHoklch(50.72% 0.175 5.4)
XYZxyz(20.3521, 11.3721, 10.1383)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02757 #27B080
analogous
#B0279C #B02757 #B03B27
triadic
#B02757 #57B027 #2757B0
tetradic
#B02757 #9CB027 #27B080 #3B27B0
square
#B02757 #9CB027 #27B080 #3B27B0
split-complementary
#B02757 #27B03B #279CB0
monochromatic
#4C1125 #7E1C3E #B02757 #D54074 #E07298

Accessibility & contrast

On white

6.41
#B02757 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B02757 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02757
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02757#FFFFFF#000000##FFFFFF
##B027571.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D58
Deuteranopia (green-blind)
#6E6854
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02757;
/* rgb */ color: rgb(176, 39, 87);
/* oklch */ color: oklch(50.7% 0.175 5.4);
Tailwind
colors: {
  custom: {
    50: '#ce6f86',
    500: '#b02757',
    950: '#000000',
  },
}
SCSS
$custom: #b02757;
$custom-light: #ce6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b02757",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 338.978,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.17469,
    "h": 5.4
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#B02757
secondary
#6CC7A7
accent
#E7AD41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02757

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

Preview Lab → · Contrast checker → · Palette generator →

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