#7F244E#7F244E

#7F244E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.131 H 356.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7F244E
RGBrgb(127, 36, 78)
HSLhsl(332, 56%, 32%)
HSVhsv(332, 72%, 50%)
CMYKcmyk(0%, 71.7%, 38.6%, 50.2%)
CIE-LABlab(30.22, 42.65, -3.59)
CIE-LCHlch(30.22, 42.80, 355.19°)
OKLaboklab(41.56% 0.1307 -0.0089)
OKLCHoklch(41.56% 0.131 356.1)
XYZxyz(10.7591, 6.3251, 7.8605)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F244E #247F55
analogous
#7F247C #7F244E #7F2824
triadic
#7F244E #4E7F24 #244E7F
tetradic
#7F244E #7C7F24 #247F55 #28247F
square
#7F244E #7C7F24 #247F55 #28247F
split-complementary
#7F244E #247F28 #247C7F
monochromatic
#200913 #4F1631 #7F244E #AF326B #CD508A

Accessibility & contrast

On white

9.27
#7F244E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F244E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F244E#FFFFFF#000000##FFFFFF
##7F244E1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4F
Deuteranopia (green-blind)
#4E4D4C
Tritanopia (blue-blind)
#891B36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f244e;
/* rgb */ color: rgb(127, 36, 78);
/* oklch */ color: oklch(41.6% 0.131 356.1);
Tailwind
colors: {
  custom: {
    50: '#a8667f',
    500: '#7f244e',
    950: '#000000',
  },
}
SCSS
$custom: #7f244e;
$custom-light: #a8667f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f244e",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 78
  },
  "hsl": {
    "h": 332.308,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.13096,
    "h": 356.1
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#7F244E
secondary
#4EB183
accent
#DF9A49
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F244E

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

Preview Lab → · Contrast checker → · Palette generator →

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