#B02754#B02754

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

Color values

HEX#B02754
RGBrgb(176, 39, 84)
HSLhsl(340, 64%, 42%)
HSVhsv(340, 78%, 69%)
CMYKcmyk(0%, 77.8%, 52.3%, 31%)
CIE-LABlab(40.12, 56.64, 8.04)
CIE-LCHlch(40.12, 57.21, 8.07°)
OKLaboklab(50.63% 0.1728 0.0208)
OKLCHoklch(50.63% 0.174 6.9)
XYZxyz(20.2321, 11.3241, 9.5062)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02754 #27B083
analogous
#B02799 #B02754 #B03F27
triadic
#B02754 #54B027 #2754B0
tetradic
#B02754 #99B027 #27B083 #3F27B0
square
#B02754 #99B027 #27B083 #3F27B0
split-complementary
#B02754 #27B03F #2799B0
monochromatic
#4C1124 #7E1C3C #B02754 #D54071 #E07296

Accessibility & contrast

On white

6.43
#B02754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02754
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02754#FFFFFF#000000##FFFFFF
##B027541.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D55
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02754;
/* rgb */ color: rgb(176, 39, 84);
/* oklch */ color: oklch(50.6% 0.174 6.9);
Tailwind
colors: {
  custom: {
    50: '#ce6f83',
    500: '#b02754',
    950: '#000000',
  },
}
SCSS
$custom: #b02754;
$custom-light: #ce6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#b02754",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 340.292,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.17405,
    "h": 6.9
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#B02754
secondary
#6CC7A9
accent
#E7B041
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02754

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

Preview Lab → · Contrast checker → · Palette generator →

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