#7C274D#7C274D

#7C274D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.4% C 0.124 H 356.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7C274D
RGBrgb(124, 39, 77)
HSLhsl(333, 52%, 32%)
HSVhsv(333, 69%, 49%)
CMYKcmyk(0%, 68.5%, 37.9%, 51.4%)
CIE-LABlab(30.09, 40.31, -3.18)
CIE-LCHlch(30.09, 40.44, 355.49°)
OKLaboklab(41.35% 0.1233 -0.0079)
OKLCHoklch(41.35% 0.124 356.4)
XYZxyz(10.3779, 6.2731, 7.6841)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C274D #277C56
analogous
#7C2778 #7C274D #7C2B27
triadic
#7C274D #4D7C27 #274D7C
tetradic
#7C274D #787C27 #277C56 #2B277C
square
#7C274D #787C27 #277C56 #2B277C
split-complementary
#7C274D #277C2B #27787C
monochromatic
#1F0A13 #4D1830 #7C274D #AB366A #C95489

Accessibility & contrast

On white

9.32
#7C274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7C274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C274D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C274D#FFFFFF#000000##FFFFFF
##7C274D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4E
Deuteranopia (green-blind)
#4D4D4B
Tritanopia (blue-blind)
#861F36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c274d;
/* rgb */ color: rgb(124, 39, 77);
/* oklch */ color: oklch(41.4% 0.124 356.4);
Tailwind
colors: {
  custom: {
    50: '#a6677e',
    500: '#7c274d',
    950: '#000000',
  },
}
SCSS
$custom: #7c274d;
$custom-light: #a6677e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c274d",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 333.176,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.12355,
    "h": 356.4
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#7C274D
secondary
#51AE84
accent
#DC9B4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C274D

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

Preview Lab → · Contrast checker → · Palette generator →

#7C274D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva