#B02F56#B02F56

#B02F56 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.166 H 7.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B02F56
RGBrgb(176, 47, 86)
HSLhsl(342, 58%, 44%)
HSVhsv(342, 73%, 69%)
CMYKcmyk(0%, 73.3%, 51.1%, 31%)
CIE-LABlab(41.12, 54.16, 8.18)
CIE-LCHlch(41.12, 54.77, 8.59°)
OKLaboklab(51.39% 0.165 0.0212)
OKLCHoklch(51.39% 0.166 7.3)
XYZxyz(20.6025, 11.9378, 10.0216)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F56 #2FB089
analogous
#B02F96 #B02F56 #B0482F
triadic
#B02F56 #56B02F #2F56B0
tetradic
#B02F56 #96B02F #2FB089 #482FB0
square
#B02F56 #96B02F #2FB089 #482FB0
split-complementary
#B02F56 #2FB048 #2F96B0
monochromatic
#4F1527 #80223E #B02F56 #CF4D74 #DC7D9A

Accessibility & contrast

On white

6.20
#B02F56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B02F56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F56
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F56#FFFFFF#000000##FFFFFF
##B02F561.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5157
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#C0123F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02f56;
/* rgb */ color: rgb(176, 47, 86);
/* oklch */ color: oklch(51.4% 0.166 7.3);
Tailwind
colors: {
  custom: {
    50: '#cd7285',
    500: '#b02f56',
    950: '#000000',
  },
}
SCSS
$custom: #b02f56;
$custom-light: #cd7285;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f56",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 341.86,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.16638,
    "h": 7.3
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#B02F56
secondary
#76C5AD
accent
#E1B247
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B02F56

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

Preview Lab → · Contrast checker → · Palette generator →

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