#B02852#B02852

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

Color values

HEX#B02852
RGBrgb(176, 40, 82)
HSLhsl(341, 63%, 42%)
HSVhsv(341, 77%, 69%)
CMYKcmyk(0%, 77.3%, 53.4%, 31%)
CIE-LABlab(40.18, 56.17, 9.39)
CIE-LCHlch(40.18, 56.95, 9.49°)
OKLaboklab(50.66% 0.171 0.0241)
OKLCHoklch(50.66% 0.173 8)
XYZxyz(20.1881, 11.3597, 9.1106)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02852 #28B086
analogous
#B02896 #B02852 #B04228
triadic
#B02852 #52B028 #2852B0
tetradic
#B02852 #96B028 #28B086 #4228B0
square
#B02852 #96B028 #28B086 #4228B0
split-complementary
#B02852 #28B042 #2896B0
monochromatic
#4C1124 #7E1D3B #B02852 #D4416F #DF7395

Accessibility & contrast

On white

6.42
#B02852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02852
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02852#FFFFFF#000000##FFFFFF
##B028521.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#C0003A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02852;
/* rgb */ color: rgb(176, 40, 82);
/* oklch */ color: oklch(50.7% 0.173 8.0);
Tailwind
colors: {
  custom: {
    50: '#ce6f82',
    500: '#b02852',
    950: '#000000',
  },
}
SCSS
$custom: #b02852;
$custom-light: #ce6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#b02852",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 341.471,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.17273,
    "h": 8
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#B02852
secondary
#6DC6AB
accent
#E6B342
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02852

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

Preview Lab → · Contrast checker → · Palette generator →

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