#B02338#B02338

#B02338 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.175 H 19.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B02338
RGBrgb(176, 35, 56)
HSLhsl(351, 67%, 41%)
HSVhsv(351, 80%, 69%)
CMYKcmyk(0%, 80.1%, 68.2%, 31%)
CIE-LABlab(39.11, 55.96, 24.37)
CIE-LCHlch(39.11, 61.04, 23.53°)
OKLaboklab(49.69% 0.1656 0.0573)
OKLCHoklch(49.69% 0.175 19.1)
XYZxyz(19.2215, 10.7207, 4.7978)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02338 #23B09B
analogous
#B0237F #B02338 #B05523
triadic
#B02338 #38B023 #2338B0
tetradic
#B02338 #7FB023 #23B09B #5523B0
square
#B02338 #7FB023 #23B09B #5523B0
split-complementary
#B02338 #23B055 #237FB0
monochromatic
#4A0F18 #7D1928 #B02338 #D83950 #E26C7D

Accessibility & contrast

On white

6.68
#B02338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#B02338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02338
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02338#FFFFFF#000000##FFFFFF
##B023381.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4938
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#C2002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02338;
/* rgb */ color: rgb(176, 35, 56);
/* oklch */ color: oklch(49.7% 0.175 19.1);
Tailwind
colors: {
  custom: {
    50: '#d06c6e',
    500: '#b02338',
    950: '#000000',
  },
}
SCSS
$custom: #b02338;
$custom-light: #d06c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02338",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 351.064,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4969,
    "c": 0.17525,
    "h": 19.1
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#B02338
secondary
#67C8B9
accent
#EAD03E
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150807
muted
#837A7A

Preview Lab

Preview with #B02338

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

Preview Lab → · Contrast checker → · Palette generator →

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