#B02B5D#B02B5D

#B02B5D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.172 H 3.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B02B5D
RGBrgb(176, 43, 93)
HSLhsl(337, 61%, 43%)
HSVhsv(337, 76%, 69%)
CMYKcmyk(0%, 75.6%, 47.2%, 31%)
CIE-LABlab(40.82, 56.14, 3.34)
CIE-LCHlch(40.82, 56.24, 3.41°)
OKLaboklab(51.23% 0.172 0.0092)
OKLCHoklch(51.23% 0.172 3.1)
XYZxyz(20.7459, 11.7509, 11.5295)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B5D #2BB07E
analogous
#B02B9F #B02B5D #B03C2B
triadic
#B02B5D #5DB02B #2B5DB0
tetradic
#B02B5D #9FB02B #2BB07E #3C2BB0
square
#B02B5D #9FB02B #2BB07E #3C2BB0
split-complementary
#B02B5D #2BB03C #2B9FB0
monochromatic
#4E1329 #7F1F43 #B02B5D #D2467B #DE789E

Accessibility & contrast

On white

6.27
#B02B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02B5D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B5D#FFFFFF#000000##FFFFFF
##B02B5D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A505E
Deuteranopia (green-blind)
#6E6A5A
Tritanopia (blue-blind)
#BF0F40
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02b5d;
/* rgb */ color: rgb(176, 43, 93);
/* oklch */ color: oklch(51.2% 0.172 3.1);
Tailwind
colors: {
  custom: {
    50: '#cd718a',
    500: '#b02b5d',
    950: '#000000',
  },
}
SCSS
$custom: #b02b5d;
$custom-light: #cd718a;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b5d",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 337.444,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.17225,
    "h": 3.1
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#B02B5D
secondary
#71C6A6
accent
#E4A844
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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