#7F244B#7F244B

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

Color values

HEX#7F244B
RGBrgb(127, 36, 75)
HSLhsl(334, 56%, 32%)
HSVhsv(334, 72%, 50%)
CMYKcmyk(0%, 71.7%, 40.9%, 50.2%)
CIE-LABlab(30.12, 42.31, -1.76)
CIE-LCHlch(30.12, 42.34, 357.61°)
OKLaboklab(41.45% 0.1296 -0.0041)
OKLCHoklch(41.45% 0.13 358.2)
XYZxyz(10.6540, 6.2831, 7.3070)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F244B #247F58
analogous
#7F2479 #7F244B #7F2B24
triadic
#7F244B #4B7F24 #244B7F
tetradic
#7F244B #797F24 #247F58 #2B247F
square
#7F244B #797F24 #247F58 #2B247F
split-complementary
#7F244B #247F2B #24797F
monochromatic
#200913 #4F162F #7F244B #AF3267 #CD5086

Accessibility & contrast

On white

9.31
#7F244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F244B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F244B#FFFFFF#000000##FFFFFF
##7F244B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#4E4D49
Tritanopia (blue-blind)
#8A1A34
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f244b;
/* rgb */ color: rgb(127, 36, 75);
/* oklch */ color: oklch(41.5% 0.130 358.2);
Tailwind
colors: {
  custom: {
    50: '#a8667d',
    500: '#7f244b',
    950: '#000000',
  },
}
SCSS
$custom: #7f244b;
$custom-light: #a8667d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f244b",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 334.286,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41454,
    "c": 0.1297,
    "h": 358.2
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#7F244B
secondary
#4EB187
accent
#DF9F49
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F244B

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

Preview Lab → · Contrast checker → · Palette generator →

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