#942D4E#942D4E

#942D4E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.140 H 4.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#942D4E
RGBrgb(148, 45, 78)
HSLhsl(341, 53%, 38%)
HSVhsv(341, 70%, 58%)
CMYKcmyk(0%, 69.6%, 47.3%, 42%)
CIE-LABlab(35.45, 45.57, 4.50)
CIE-LCHlch(35.45, 45.79, 5.64°)
OKLaboklab(46.16% 0.1392 0.012)
OKLCHoklch(46.16% 0.14 4.9)
XYZxyz(14.5274, 8.7246, 8.1253)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942D4E #2D9473
analogous
#942D81 #942D4E #94402D
triadic
#942D4E #4E942D #2D4E94
tetradic
#942D4E #81942D #2D9473 #402D94
square
#942D4E #81942D #2D9473 #402D94
split-complementary
#942D4E #2D9440 #2D8194
monochromatic
#36101D #651F35 #942D4E #C33B67 #D26A8B

Accessibility & contrast

On white

7.65
#942D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#942D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942D4E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942D4E#FFFFFF#000000##FFFFFF
##942D4E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464F
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#A11D3A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942d4e;
/* rgb */ color: rgb(148, 45, 78);
/* oklch */ color: oklch(46.2% 0.140 4.9);
Tailwind
colors: {
  custom: {
    50: '#b86d7f',
    500: '#942d4e',
    950: '#000000',
  },
}
SCSS
$custom: #942d4e;
$custom-light: #b86d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#942d4e",
  "rgb": {
    "r": 148,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 340.777,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46159,
    "c": 0.13967,
    "h": 4.9
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#942D4E
secondary
#64B89E
accent
#DDAE4B
background
#FBF6F7
surface
#F7ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #942D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#942D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva