#B02F52#B02F52

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

Color values

HEX#B02F52
RGBrgb(176, 47, 82)
HSLhsl(344, 58%, 44%)
HSVhsv(344, 73%, 69%)
CMYKcmyk(0%, 73.3%, 53.4%, 31%)
CIE-LABlab(41.02, 53.83, 10.55)
CIE-LCHlch(41.02, 54.85, 11.09°)
OKLaboklab(51.28% 0.1635 0.0269)
OKLCHoklch(51.28% 0.166 9.3)
XYZxyz(20.4459, 11.8752, 9.1965)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F52 #2FB08D
analogous
#B02F92 #B02F52 #B04C2F
triadic
#B02F52 #52B02F #2F52B0
tetradic
#B02F52 #92B02F #2FB08D #4C2FB0
square
#B02F52 #92B02F #2FB08D #4C2FB0
split-complementary
#B02F52 #2FB04C #2F92B0
monochromatic
#4F1525 #80223B #B02F52 #CF4D70 #DC7D97

Accessibility & contrast

On white

6.22
#B02F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B02F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F52
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F52#FFFFFF#000000##FFFFFF
##B02F521.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5053
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#C00F3D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02f52;
/* rgb */ color: rgb(176, 47, 82);
/* oklch */ color: oklch(51.3% 0.166 9.3);
Tailwind
colors: {
  custom: {
    50: '#ce7282',
    500: '#b02f52',
    950: '#000000',
  },
}
SCSS
$custom: #b02f52;
$custom-light: #ce7282;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f52",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 343.721,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51278,
    "c": 0.1657,
    "h": 9.3
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#B02F52
secondary
#76C5AF
accent
#E1B747
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B02F52

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

Preview Lab → · Contrast checker → · Palette generator →

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