#B02B5E#B02B5E

#B02B5E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.173 H 2.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B02B5E
RGBrgb(176, 43, 94)
HSLhsl(337, 61%, 43%)
HSVhsv(337, 76%, 69%)
CMYKcmyk(0%, 75.6%, 46.6%, 31%)
CIE-LABlab(40.85, 56.24, 2.75)
CIE-LCHlch(40.85, 56.30, 2.80°)
OKLaboklab(51.26% 0.1724 0.0077)
OKLCHoklch(51.26% 0.173 2.6)
XYZxyz(20.7904, 11.7688, 11.7643)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B5E #2BB07D
analogous
#B02BA1 #B02B5E #B03A2B
triadic
#B02B5E #5EB02B #2B5EB0
tetradic
#B02B5E #A1B02B #2BB07D #3A2BB0
square
#B02B5E #A1B02B #2BB07D #3A2BB0
split-complementary
#B02B5E #2BB03A #2BA1B0
monochromatic
#4E1329 #7F1F44 #B02B5E #D2467C #DE789F

Accessibility & contrast

On white

6.26
#B02B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B02B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B5E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B5E#FFFFFF#000000##FFFFFF
##B02B5E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A505F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BF0F41
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02b5e;
/* rgb */ color: rgb(176, 43, 94);
/* oklch */ color: oklch(51.3% 0.173 2.6);
Tailwind
colors: {
  custom: {
    50: '#cd718b',
    500: '#b02b5e',
    950: '#000000',
  },
}
SCSS
$custom: #b02b5e;
$custom-light: #cd718b;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b5e",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 336.992,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.17254,
    "h": 2.6
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#B02B5E
secondary
#71C6A5
accent
#E4A744
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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