#B02A4F#B02A4F

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

Color values

HEX#B02A4F
RGBrgb(176, 42, 79)
HSLhsl(343, 61%, 43%)
HSVhsv(343, 76%, 69%)
CMYKcmyk(0%, 76.1%, 55.1%, 31%)
CIE-LABlab(40.33, 55.30, 11.50)
CIE-LCHlch(40.33, 56.48, 11.75°)
OKLaboklab(50.75% 0.1678 0.0291)
OKLCHoklch(50.75% 0.17 9.8)
XYZxyz(20.1456, 11.4534, 8.5455)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A4F #2AB08B
analogous
#B02A92 #B02A4F #B0482A
triadic
#B02A4F #4FB02A #2A4FB0
tetradic
#B02A4F #92B02A #2AB08B #482AB0
square
#B02A4F #92B02A #2AB08B #482AB0
split-complementary
#B02A4F #2AB048 #2A92B0
monochromatic
#4D1223 #7F1E39 #B02A4F #D3456C #DE7693

Accessibility & contrast

On white

6.38
#B02A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B02A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A4F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A4F#FFFFFF#000000##FFFFFF
##B02A4F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E50
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#C0003A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02a4f;
/* rgb */ color: rgb(176, 42, 79);
/* oklch */ color: oklch(50.7% 0.170 9.8);
Tailwind
colors: {
  custom: {
    50: '#ce7080',
    500: '#b02a4f',
    950: '#000000',
  },
}
SCSS
$custom: #b02a4f;
$custom-light: #ce7080;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a4f",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 343.433,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.17033,
    "h": 9.8
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#B02A4F
secondary
#70C6AE
accent
#E5B843
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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