#7F2C4B#7F2C4B

#7F2C4B is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.4% C 0.119 H 0.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7F2C4B
RGBrgb(127, 44, 75)
HSLhsl(338, 49%, 34%)
HSVhsv(338, 65%, 50%)
CMYKcmyk(0%, 65.4%, 40.9%, 50.2%)
CIE-LABlab(31.40, 38.79, 0.12)
CIE-LCHlch(31.40, 38.79, 0.17°)
OKLaboklab(42.41% 0.1185 0.0008)
OKLCHoklch(42.41% 0.119 0.4)
XYZxyz(10.9238, 6.8226, 7.3969)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C4B #2C7F60
analogous
#7F2C74 #7F2C4B #7F362C
triadic
#7F2C4B #4B7F2C #2C4B7F
tetradic
#7F2C4B #747F2C #2C7F60 #362C7F
square
#7F2C4B #747F2C #2C7F60 #362C7F
split-complementary
#7F2C4B #2C7F36 #2C747F
monochromatic
#240D15 #521C30 #7F2C4B #AC3C66 #C75E85

Accessibility & contrast

On white

8.88
#7F2C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F2C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C4B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C4B#FFFFFF#000000##FFFFFF
##7F2C4B1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#892338
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2c4b;
/* rgb */ color: rgb(127, 44, 75);
/* oklch */ color: oklch(42.4% 0.119 0.4);
Tailwind
colors: {
  custom: {
    50: '#a86a7d',
    500: '#7f2c4b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c4b;
$custom-light: #a86a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c4b",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 337.59,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.11853,
    "h": 0.4
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#7F2C4B
secondary
#59AD8E
accent
#D8A550
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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