#B02874#B02874

#B02874 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.184 H 351.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B02874
RGBrgb(176, 40, 116)
HSLhsl(326, 63%, 42%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 77.3%, 34.1%, 31%)
CIE-LABlab(41.23, 59.44, -10.45)
CIE-LCHlch(41.23, 60.35, 350.03°)
OKLaboklab(51.78% 0.1822 -0.027)
OKLCHoklch(51.78% 0.184 351.6)
XYZxyz(21.8170, 12.0113, 17.6891)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02874 #28B064
analogous
#A828B0 #B02874 #B02830
triadic
#B02874 #74B028 #2874B0
tetradic
#B02874 #B0A828 #28B064 #2830B0
square
#B02874 #B0A828 #28B064 #2830B0
split-complementary
#B02874 #30B028 #28B0A8
monochromatic
#4C1132 #7E1D53 #B02874 #D44193 #DF73B0

Accessibility & contrast

On white

6.17
#B02874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B02874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02874
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02874#FFFFFF#000000##FFFFFF
##B028741.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415276
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#BE1C4B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02874;
/* rgb */ color: rgb(176, 40, 116);
/* oklch */ color: oklch(51.8% 0.184 351.6);
Tailwind
colors: {
  custom: {
    50: '#cc709c',
    500: '#b02874',
    950: '#000000',
  },
}
SCSS
$custom: #b02874;
$custom-light: #cc709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02874",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 326.471,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.18421,
    "h": 351.6
  },
  "luminance": 0.12009
}

Semantic roles & 50–950 ramp

primary
#B02874
secondary
#6DC695
accent
#E68A42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02874

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

Preview Lab → · Contrast checker → · Palette generator →

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