#B02A4C#B02A4C

#B02A4C is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 11.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B02A4C
RGBrgb(176, 42, 76)
HSLhsl(345, 61%, 43%)
HSVhsv(345, 76%, 69%)
CMYKcmyk(0%, 76.1%, 56.8%, 31%)
CIE-LABlab(40.26, 55.07, 13.30)
CIE-LCHlch(40.26, 56.65, 13.57°)
OKLaboklab(50.68% 0.1667 0.0333)
OKLCHoklch(50.68% 0.17 11.3)
XYZxyz(20.0389, 11.4107, 7.9834)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A4C #2AB08E
analogous
#B02A8F #B02A4C #B04B2A
triadic
#B02A4C #4CB02A #2A4CB0
tetradic
#B02A4C #8FB02A #2AB08E #4B2AB0
square
#B02A4C #8FB02A #2AB08E #4B2AB0
split-complementary
#B02A4C #2AB04B #2A8FB0
monochromatic
#4D1221 #7F1E37 #B02A4C #D34569 #DE7691

Accessibility & contrast

On white

6.40
#B02A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B02A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A4C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A4C#FFFFFF#000000##FFFFFF
##B02A4C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4C
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#C10038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02a4c;
/* rgb */ color: rgb(176, 42, 76);
/* oklch */ color: oklch(50.7% 0.170 11.3);
Tailwind
colors: {
  custom: {
    50: '#ce707d',
    500: '#b02a4c',
    950: '#000000',
  },
}
SCSS
$custom: #b02a4c;
$custom-light: #ce707d;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a4c",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 344.776,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.16995,
    "h": 11.3
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#B02A4C
secondary
#70C6B0
accent
#E5BC43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B02A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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