#B02758#B02758

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

Color values

HEX#B02758
RGBrgb(176, 39, 88)
HSLhsl(339, 64%, 42%)
HSVhsv(339, 78%, 69%)
CMYKcmyk(0%, 77.8%, 50%, 31%)
CIE-LABlab(40.23, 56.97, 5.65)
CIE-LCHlch(40.23, 57.25, 5.67°)
OKLaboklab(50.75% 0.1743 0.0149)
OKLCHoklch(50.75% 0.175 4.9)
XYZxyz(20.3933, 11.3885, 10.3550)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02758 #27B07F
analogous
#B0279D #B02758 #B03A27
triadic
#B02758 #58B027 #2758B0
tetradic
#B02758 #9DB027 #27B07F #3A27B0
square
#B02758 #9DB027 #27B07F #3A27B0
split-complementary
#B02758 #27B03A #279DB0
monochromatic
#4C1126 #7E1C3F #B02758 #D54075 #E07299

Accessibility & contrast

On white

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

On black

3.28
#B02758 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B02758#FFFFFF#000000##FFFFFF
##B027581.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02758;
/* rgb */ color: rgb(176, 39, 88);
/* oklch */ color: oklch(50.7% 0.175 4.9);
Tailwind
colors: {
  custom: {
    50: '#ce6f86',
    500: '#b02758',
    950: '#000000',
  },
}
SCSS
$custom: #b02758;
$custom-light: #ce6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b02758",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 338.54,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.17493,
    "h": 4.9
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#B02758
secondary
#6CC7A6
accent
#E7AB41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02758

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

Preview Lab → · Contrast checker → · Palette generator →

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