#742040#742040

#742040 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.7% C 0.120 H 1.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#742040
RGBrgb(116, 32, 64)
HSLhsl(337, 57%, 29%)
HSVhsv(337, 72%, 45%)
CMYKcmyk(0%, 72.4%, 44.8%, 54.5%)
CIE-LABlab(27.07, 39.23, 0.85)
CIE-LCHlch(27.07, 39.24, 1.25°)
OKLaboklab(38.69% 0.1201 0.0027)
OKLCHoklch(38.69% 0.12 1.3)
XYZxyz(8.6450, 5.1173, 5.3820)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742040 #207454
analogous
#74206A #742040 #742A20
triadic
#742040 #407420 #204074
tetradic
#742040 #6A7420 #207454 #2A2074
square
#742040 #6A7420 #207454 #2A2074
split-complementary
#742040 #20742A #206A74
monochromatic
#18070D #441326 #742040 #A42D5A #CB4377

Accessibility & contrast

On white

10.38
#742040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#742040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742040
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742040#FFFFFF#000000##FFFFFF
##7420401.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313641
Deuteranopia (green-blind)
#48463E
Tritanopia (blue-blind)
#7E152D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #742040;
/* rgb */ color: rgb(116, 32, 64);
/* oklch */ color: oklch(38.7% 0.120 1.3);
Tailwind
colors: {
  custom: {
    50: '#a06274',
    500: '#742040',
    950: '#000000',
  },
}
SCSS
$custom: #742040;
$custom-light: #a06274;
$custom-dark: #000000;
JSON
{
  "hex": "#742040",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 337.143,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38693,
    "c": 0.12016,
    "h": 1.3
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#742040
secondary
#48A883
accent
#E0A648
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#0F0508
muted
#7F7A7B

Preview Lab

Preview with #742040

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

Preview Lab → · Contrast checker → · Palette generator →

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