#742258#742258

#742258 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.130 H 344.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#742258
RGBrgb(116, 34, 88)
HSLhsl(320, 55%, 29%)
HSVhsv(320, 71%, 45%)
CMYKcmyk(0%, 70.7%, 24.1%, 54.5%)
CIE-LABlab(28.28, 41.47, -13.29)
CIE-LCHlch(28.28, 43.55, 342.23°)
OKLaboklab(39.89% 0.1249 -0.0354)
OKLCHoklch(39.89% 0.13 344.2)
XYZxyz(9.5363, 5.5626, 9.8021)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742258 #22743E
analogous
#672274 #742258 #74222F
triadic
#742258 #587422 #225874
tetradic
#742258 #746722 #22743E #222F74
square
#742258 #746722 #22743E #222F74
split-complementary
#742258 #2F7422 #227467
monochromatic
#180712 #451434 #742258 #A3307C #C9479D

Accessibility & contrast

On white

9.94
#742258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#742258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742258
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742258#FFFFFF#000000##FFFFFF
##7422581.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#7C2139
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #742258;
/* rgb */ color: rgb(116, 34, 88);
/* oklch */ color: oklch(39.9% 0.130 344.2);
Tailwind
colors: {
  custom: {
    50: '#9f6487',
    500: '#742258',
    950: '#000000',
  },
}
SCSS
$custom: #742258;
$custom-light: #9f6487;
$custom-dark: #000000;
JSON
{
  "hex": "#742258",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 320.488,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.1298,
    "h": 344.2
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#742258
secondary
#4BA76A
accent
#DE7C4A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #742258

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

Preview Lab → · Contrast checker → · Palette generator →

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