#7F2F45#7F2F45

#7F2F45 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.6% C 0.112 H 6.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7F2F45
RGBrgb(127, 47, 69)
HSLhsl(344, 46%, 34%)
HSVhsv(344, 63%, 50%)
CMYKcmyk(0%, 63%, 45.7%, 50.2%)
CIE-LABlab(31.75, 36.67, 4.55)
CIE-LCHlch(31.75, 36.96, 7.07°)
OKLaboklab(42.61% 0.1117 0.0121)
OKLCHoklch(42.61% 0.112 6.2)
XYZxyz(10.8438, 6.9760, 6.4045)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F45 #2F7F69
analogous
#7F2F6D #7F2F45 #7F412F
triadic
#7F2F45 #457F2F #2F457F
tetradic
#7F2F45 #6D7F2F #2F7F69 #412F7F
square
#7F2F45 #6D7F2F #2F7F69 #412F7F
split-complementary
#7F2F45 #2F7F41 #2F6D7F
monochromatic
#260E14 #521E2D #7F2F45 #AC405D #C5637E

Accessibility & contrast

On white

8.77
#7F2F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F2F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F45
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F45#FFFFFF#000000##FFFFFF
##7F2F451.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#545143
Tritanopia (blue-blind)
#8A2537
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2f45;
/* rgb */ color: rgb(127, 47, 69);
/* oklch */ color: oklch(42.6% 0.112 6.2);
Tailwind
colors: {
  custom: {
    50: '#a86c78',
    500: '#7f2f45',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f45;
$custom-light: #a86c78;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f45",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 343.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.11234,
    "h": 6.2
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#7F2F45
secondary
#5EAC97
accent
#D6B152
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2F45

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

Preview Lab → · Contrast checker → · Palette generator →

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