#742262#742262

#742262 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.137 H 337.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#742262
RGBrgb(116, 34, 98)
HSLhsl(313, 55%, 29%)
HSVhsv(313, 71%, 45%)
CMYKcmyk(0%, 70.7%, 15.5%, 54.5%)
CIE-LABlab(28.75, 43.01, -19.10)
CIE-LCHlch(28.75, 47.06, 336.05°)
OKLaboklab(40.38% 0.1268 -0.0518)
OKLCHoklch(40.38% 0.137 337.8)
XYZxyz(9.9793, 5.7398, 12.1352)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742262 #227434
analogous
#5D2274 #742262 #742239
triadic
#742262 #627422 #226274
tetradic
#742262 #745D22 #227434 #223974
square
#742262 #745D22 #227434 #223974
split-complementary
#742262 #397422 #22745D
monochromatic
#180714 #45143A #742262 #A3308A #C947AD

Accessibility & contrast

On white

9.78
#742262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#742262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742262
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742262#FFFFFF#000000##FFFFFF
##7422621.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C64
Deuteranopia (green-blind)
#3F4860
Tritanopia (blue-blind)
#7A263F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #742262;
/* rgb */ color: rgb(116, 34, 98);
/* oklch */ color: oklch(40.4% 0.137 337.8);
Tailwind
colors: {
  custom: {
    50: '#9f648f',
    500: '#742262',
    950: '#000000',
  },
}
SCSS
$custom: #742262;
$custom-light: #9f648f;
$custom-dark: #000000;
JSON
{
  "hex": "#742262",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 313.171,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.13699,
    "h": 337.8
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#742262
secondary
#4BA75F
accent
#DE6A4A
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #742262

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

Preview Lab → · Contrast checker → · Palette generator →

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