#7F244C#7F244C

#7F244C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.130 H 357.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7F244C
RGBrgb(127, 36, 76)
HSLhsl(334, 56%, 32%)
HSVhsv(334, 72%, 50%)
CMYKcmyk(0%, 71.7%, 40.2%, 50.2%)
CIE-LABlab(30.15, 42.42, -2.37)
CIE-LCHlch(30.15, 42.49, 356.80°)
OKLaboklab(41.49% 0.13 -0.0057)
OKLCHoklch(41.49% 0.13 357.5)
XYZxyz(10.6885, 6.2969, 7.4886)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F244C #247F57
analogous
#7F247A #7F244C #7F2924
triadic
#7F244C #4C7F24 #244C7F
tetradic
#7F244C #7A7F24 #247F57 #29247F
square
#7F244C #7A7F24 #247F57 #29247F
split-complementary
#7F244C #247F29 #247A7F
monochromatic
#200913 #4F162F #7F244C #AF3269 #CD5087

Accessibility & contrast

On white

9.30
#7F244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F244C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F244C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F244C#FFFFFF#000000##FFFFFF
##7F244C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#4E4D4A
Tritanopia (blue-blind)
#8A1A35
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f244c;
/* rgb */ color: rgb(127, 36, 76);
/* oklch */ color: oklch(41.5% 0.130 357.5);
Tailwind
colors: {
  custom: {
    50: '#a8667d',
    500: '#7f244c',
    950: '#000000',
  },
}
SCSS
$custom: #7f244c;
$custom-light: #a8667d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f244c",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 333.626,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.13011,
    "h": 357.5
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#7F244C
secondary
#4EB185
accent
#DF9D49
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F244C

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

Preview Lab → · Contrast checker → · Palette generator →

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