#7F2D45#7F2D45

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

Color values

HEX#7F2D45
RGBrgb(127, 45, 69)
HSLhsl(342, 48%, 34%)
HSVhsv(342, 65%, 50%)
CMYKcmyk(0%, 64.6%, 45.7%, 50.2%)
CIE-LABlab(31.39, 37.64, 4.04)
CIE-LCHlch(31.39, 37.86, 6.12°)
OKLaboklab(42.34% 0.1147 0.0108)
OKLCHoklch(42.34% 0.115 5.4)
XYZxyz(10.7657, 6.8197, 6.3785)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D45 #2D7F67
analogous
#7F2D6E #7F2D45 #7F3E2D
triadic
#7F2D45 #457F2D #2D457F
tetradic
#7F2D45 #6E7F2D #2D7F67 #3E2D7F
square
#7F2D45 #6E7F2D #2D7F67 #3E2D7F
split-complementary
#7F2D45 #2D7F3E #2D6E7F
monochromatic
#250D14 #521D2C #7F2D45 #AC3D5E #C7607E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2D45#FFFFFF#000000##FFFFFF
##7F2D451.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)
#3E4046
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#8A2336
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2d45;
/* rgb */ color: rgb(127, 45, 69);
/* oklch */ color: oklch(42.3% 0.115 5.4);
Tailwind
colors: {
  custom: {
    50: '#a86b78',
    500: '#7f2d45',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d45;
$custom-light: #a86b78;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d45",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 342.439,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.11524,
    "h": 5.4
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#7F2D45
secondary
#5BAD95
accent
#D7B051
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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