#78254F#78254F

#78254F is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.124 H 352.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#78254F
RGBrgb(120, 37, 79)
HSLhsl(330, 53%, 31%)
HSVhsv(330, 69%, 47%)
CMYKcmyk(0%, 69.2%, 34.2%, 52.9%)
CIE-LABlab(29.11, 40.16, -6.04)
CIE-LCHlch(29.11, 40.61, 351.45°)
OKLaboklab(40.52% 0.1226 -0.0155)
OKLCHoklch(40.52% 0.124 352.8)
XYZxyz(9.8191, 5.8818, 8.0138)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78254F #25784E
analogous
#772578 #78254F #782525
triadic
#78254F #4F7825 #254F78
tetradic
#78254F #787725 #25784E #252578
square
#78254F #787725 #25784E #252578
split-complementary
#78254F #257825 #257877
monochromatic
#1A0811 #491730 #78254F #A7336E #C94F8C

Accessibility & contrast

On white

9.65
#78254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#78254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78254F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78254F#FFFFFF#000000##FFFFFF
##78254F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#811F36
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78254f;
/* rgb */ color: rgb(120, 37, 79);
/* oklch */ color: oklch(40.5% 0.124 352.8);
Tailwind
colors: {
  custom: {
    50: '#a26680',
    500: '#78254f',
    950: '#000000',
  },
}
SCSS
$custom: #78254f;
$custom-light: #a26680;
$custom-dark: #000000;
JSON
{
  "hex": "#78254f",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 329.639,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.12357,
    "h": 352.8
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#78254F
secondary
#4EAA7C
accent
#DC934C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #78254F

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

Preview Lab → · Contrast checker → · Palette generator →

#78254F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva