#B02242#B02242

#B02242 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 14.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B02242
RGBrgb(176, 34, 66)
HSLhsl(346, 68%, 41%)
HSVhsv(346, 81%, 69%)
CMYKcmyk(0%, 80.7%, 62.5%, 31%)
CIE-LABlab(39.19, 56.81, 18.18)
CIE-LCHlch(39.19, 59.65, 17.75°)
OKLaboklab(49.81% 0.1705 0.0442)
OKLCHoklch(49.81% 0.176 14.5)
XYZxyz(19.4620, 10.7705, 6.2073)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02242 #22B090
analogous
#B02289 #B02242 #B04922
triadic
#B02242 #42B022 #2242B0
tetradic
#B02242 #89B022 #22B090 #4922B0
square
#B02242 #89B022 #22B090 #4922B0
split-complementary
#B02242 #22B049 #2289B0
monochromatic
#490E1C #7D182F #B02242 #D8375B #E26A85

Accessibility & contrast

On white

6.66
#B02242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B02242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02242
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02242#FFFFFF#000000##FFFFFF
##B022421.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02242;
/* rgb */ color: rgb(176, 34, 66);
/* oklch */ color: oklch(49.8% 0.176 14.5);
Tailwind
colors: {
  custom: {
    50: '#cf6c76',
    500: '#b02242',
    950: '#000000',
  },
}
SCSS
$custom: #b02242;
$custom-light: #cf6c76;
$custom-dark: #000000;
JSON
{
  "hex": "#b02242",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 346.479,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.17614,
    "h": 14.5
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#B02242
secondary
#66C8B2
accent
#EAC33D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B02242

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

Preview Lab → · Contrast checker → · Palette generator →

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