#782238#782238

#782238 is a dark, moderate pink. Relative luminance 0.054; OKLCH L 39.4% C 0.120 H 9.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#782238
RGBrgb(120, 34, 56)
HSLhsl(345, 56%, 30%)
HSVhsv(345, 72%, 47%)
CMYKcmyk(0%, 71.7%, 53.3%, 52.9%)
CIE-LABlab(27.91, 38.90, 7.54)
CIE-LCHlch(27.91, 39.63, 10.96°)
OKLaboklab(39.39% 0.1182 0.0193)
OKLCHoklch(39.39% 0.12 9.3)
XYZxyz(9.0323, 5.4238, 4.3119)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782238 #227862
analogous
#782263 #782238 #783722
triadic
#782238 #387822 #223878
tetradic
#782238 #637822 #227862 #372278
square
#782238 #637822 #227862 #372278
split-complementary
#782238 #227837 #226378
monochromatic
#19070B #481422 #782238 #A8304E #CB496A

Accessibility & contrast

On white

10.07
#782238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#782238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782238
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782238#FFFFFF#000000##FFFFFF
##7822381.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363738
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#83122B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #782238;
/* rgb */ color: rgb(120, 34, 56);
/* oklch */ color: oklch(39.4% 0.120 9.3);
Tailwind
colors: {
  custom: {
    50: '#a4646e',
    500: '#782238',
    950: '#000000',
  },
}
SCSS
$custom: #782238;
$custom-light: #a4646e;
$custom-dark: #000000;
JSON
{
  "hex": "#782238",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 344.651,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.11973,
    "h": 9.3
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#782238
secondary
#4BAB92
accent
#DFB949
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #782238

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

Preview Lab → · Contrast checker → · Palette generator →

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