#942238#942238

#942238 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.5% C 0.149 H 15.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#942238
RGBrgb(148, 34, 56)
HSLhsl(348, 63%, 36%)
HSVhsv(348, 77%, 58%)
CMYKcmyk(0%, 77%, 62.2%, 42%)
CIE-LABlab(33.41, 47.91, 15.93)
CIE-LCHlch(33.41, 50.49, 18.39°)
OKLaboklab(44.47% 0.1437 0.0389)
OKLCHoklch(44.47% 0.149 15.2)
XYZxyz(13.5000, 7.7275, 4.5213)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942238 #22947E
analogous
#942271 #942238 #944522
triadic
#942238 #389422 #223894
tetradic
#942238 #719422 #22947E #452294
square
#942238 #719422 #22947E #452294
split-complementary
#942238 #229445 #227194
monochromatic
#300B12 #621725 #942238 #C62D4B #D95871

Accessibility & contrast

On white

8.25
#942238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#942238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942238
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942238#FFFFFF#000000##FFFFFF
##9422381.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F38
Deuteranopia (green-blind)
#5F5735
Tritanopia (blue-blind)
#A2002B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #942238;
/* rgb */ color: rgb(148, 34, 56);
/* oklch */ color: oklch(44.5% 0.149 15.2);
Tailwind
colors: {
  custom: {
    50: '#ba686e',
    500: '#942238',
    950: '#000000',
  },
}
SCSS
$custom: #942238;
$custom-light: #ba686e;
$custom-dark: #000000;
JSON
{
  "hex": "#942238",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 348.421,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.14884,
    "h": 15.2
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#942238
secondary
#55BDA9
accent
#E6C642
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #942238

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

Preview Lab → · Contrast checker → · Palette generator →

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