#B02A4A#B02A4A

#B02A4A is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.170 H 12.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B02A4A
RGBrgb(176, 42, 74)
HSLhsl(346, 61%, 43%)
HSVhsv(346, 76%, 69%)
CMYKcmyk(0%, 76.1%, 58%, 31%)
CIE-LABlab(40.22, 54.93, 14.50)
CIE-LCHlch(40.22, 56.81, 14.79°)
OKLaboklab(50.63% 0.1659 0.0361)
OKLCHoklch(50.63% 0.17 12.3)
XYZxyz(19.9705, 11.3833, 7.6229)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A4A #2AB090
analogous
#B02A8D #B02A4A #B04D2A
triadic
#B02A4A #4AB02A #2A4AB0
tetradic
#B02A4A #8DB02A #2AB090 #4D2AB0
square
#B02A4A #8DB02A #2AB090 #4D2AB0
split-complementary
#B02A4A #2AB04D #2A8DB0
monochromatic
#4D1220 #7F1E35 #B02A4A #D34567 #DE768F

Accessibility & contrast

On white

6.41
#B02A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02A4A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A4A#FFFFFF#000000##FFFFFF
##B02A4A1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02a4a;
/* rgb */ color: rgb(176, 42, 74);
/* oklch */ color: oklch(50.6% 0.170 12.3);
Tailwind
colors: {
  custom: {
    50: '#ce707c',
    500: '#b02a4a',
    950: '#000000',
  },
}
SCSS
$custom: #b02a4a;
$custom-light: #ce707c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a4a",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 345.672,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.16975,
    "h": 12.3
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#B02A4A
secondary
#70C6B1
accent
#E5BE43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B02A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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