#902842#902842

#902842 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.139 H 10.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#902842
RGBrgb(144, 40, 66)
HSLhsl(345, 57%, 36%)
HSVhsv(345, 72%, 56%)
CMYKcmyk(0%, 72.2%, 54.2%, 43.5%)
CIE-LABlab(33.65, 45.21, 9.63)
CIE-LCHlch(33.65, 46.22, 12.02°)
OKLaboklab(44.58% 0.1371 0.0245)
OKLCHoklch(44.58% 0.139 10.1)
XYZxyz(13.2449, 7.8420, 5.9694)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902842 #289076
analogous
#902876 #902842 #904228
triadic
#902842 #429028 #284290
tetradic
#902842 #769028 #289076 #422890
square
#902842 #769028 #289076 #422890
split-complementary
#902842 #289042 #287690
monochromatic
#300D16 #601B2C #902842 #C03558 #D3607C

Accessibility & contrast

On white

8.18
#902842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#902842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902842
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902842#FFFFFF#000000##FFFFFF
##9028421.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414242
Deuteranopia (green-blind)
#5D573F
Tritanopia (blue-blind)
#9D1233
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #902842;
/* rgb */ color: rgb(144, 40, 66);
/* oklch */ color: oklch(44.6% 0.139 10.1);
Tailwind
colors: {
  custom: {
    50: '#b66a76',
    500: '#902842',
    950: '#000000',
  },
}
SCSS
$custom: #902842;
$custom-light: #b66a76;
$custom-dark: #000000;
JSON
{
  "hex": "#902842",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 345,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44584,
    "c": 0.1393,
    "h": 10.1
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#902842
secondary
#5CB8A1
accent
#E0BA48
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #902842

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

Preview Lab → · Contrast checker → · Palette generator →

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