#7F2144#7F2144

#7F2144 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.131 H 2.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7F2144
RGBrgb(127, 33, 68)
HSLhsl(338, 59%, 31%)
HSVhsv(338, 74%, 50%)
CMYKcmyk(0%, 74%, 46.5%, 50.2%)
CIE-LABlab(29.46, 42.75, 1.91)
CIE-LCHlch(29.46, 42.79, 2.56°)
OKLaboklab(40.9% 0.1309 0.0054)
OKLCHoklch(40.9% 0.131 2.4)
XYZxyz(10.3404, 6.0184, 6.0849)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2144 #217F5C
analogous
#7F2173 #7F2144 #7F2D21
triadic
#7F2144 #447F21 #21447F
tetradic
#7F2144 #737F21 #217F5C #2D217F
square
#7F2144 #737F21 #217F5C #2D217F
split-complementary
#7F2144 #217F2D #21737F
monochromatic
#1E0810 #4E142A #7F2144 #B02E5E #D04A7C

Accessibility & contrast

On white

9.53
#7F2144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F2144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2144
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2144#FFFFFF#000000##FFFFFF
##7F21441.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A45
Deuteranopia (green-blind)
#4F4C42
Tritanopia (blue-blind)
#8A1230
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2144;
/* rgb */ color: rgb(127, 33, 68);
/* oklch */ color: oklch(40.9% 0.131 2.4);
Tailwind
colors: {
  custom: {
    50: '#a96477',
    500: '#7f2144',
    950: '#000000',
  },
}
SCSS
$custom: #7f2144;
$custom-light: #a96477;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2144",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 337.66,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.13102,
    "h": 2.4
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#7F2144
secondary
#4AB28B
accent
#E2A846
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7F2144

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

Preview Lab → · Contrast checker → · Palette generator →

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