#B02851#B02851

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

Color values

HEX#B02851
RGBrgb(176, 40, 81)
HSLhsl(342, 63%, 42%)
HSVhsv(342, 77%, 69%)
CMYKcmyk(0%, 77.3%, 54%, 31%)
CIE-LABlab(40.15, 56.09, 9.98)
CIE-LCHlch(40.15, 56.97, 10.09°)
OKLaboklab(50.63% 0.1707 0.0255)
OKLCHoklch(50.63% 0.173 8.5)
XYZxyz(20.1504, 11.3446, 8.9117)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02851 #28B087
analogous
#B02895 #B02851 #B04328
triadic
#B02851 #51B028 #2851B0
tetradic
#B02851 #95B028 #28B087 #4328B0
square
#B02851 #95B028 #28B087 #4328B0
split-complementary
#B02851 #28B043 #2895B0
monochromatic
#4C1123 #7E1D3A #B02851 #D4416D #DF7394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02851#FFFFFF#000000##FFFFFF
##B028511.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02851;
/* rgb */ color: rgb(176, 40, 81);
/* oklch */ color: oklch(50.6% 0.173 8.5);
Tailwind
colors: {
  custom: {
    50: '#ce6f81',
    500: '#b02851',
    950: '#000000',
  },
}
SCSS
$custom: #b02851;
$custom-light: #ce6f81;
$custom-dark: #000000;
JSON
{
  "hex": "#b02851",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 341.912,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.17255,
    "h": 8.5
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#B02851
secondary
#6DC6AC
accent
#E6B542
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02851

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

Preview Lab → · Contrast checker → · Palette generator →

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