#74255C#74255C

#74255C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.128 H 341.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#74255C
RGBrgb(116, 37, 92)
HSLhsl(318, 52%, 30%)
HSVhsv(318, 68%, 45%)
CMYKcmyk(0%, 68.1%, 20.7%, 54.5%)
CIE-LABlab(28.93, 40.77, -14.91)
CIE-LCHlch(28.93, 43.42, 339.91°)
OKLaboklab(40.42% 0.1218 -0.04)
OKLCHoklch(40.42% 0.128 341.8)
XYZxyz(9.7961, 5.8098, 10.7286)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74255C #25743D
analogous
#652574 #74255C #742534
triadic
#74255C #5C7425 #255C74
tetradic
#74255C #746525 #25743D #253474
square
#74255C #746525 #25743D #253474
split-complementary
#74255C #347425 #257465
monochromatic
#170712 #461637 #74255C #A23481 #C64DA1

Accessibility & contrast

On white

9.71
#74255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#74255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74255C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74255C#FFFFFF#000000##FFFFFF
##74255C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#7B263D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74255c;
/* rgb */ color: rgb(116, 37, 92);
/* oklch */ color: oklch(40.4% 0.128 341.8);
Tailwind
colors: {
  custom: {
    50: '#9f668a',
    500: '#74255c',
    950: '#000000',
  },
}
SCSS
$custom: #74255c;
$custom-light: #9f668a;
$custom-dark: #000000;
JSON
{
  "hex": "#74255c",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 318.228,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.12822,
    "h": 341.8
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#74255C
secondary
#4EA769
accent
#DB784D
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #74255C

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

Preview Lab → · Contrast checker → · Palette generator →

#74255C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva