#942A45#942A45

#942A45 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.142 H 9.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#942A45
RGBrgb(148, 42, 69)
HSLhsl(345, 56%, 37%)
HSVhsv(345, 72%, 58%)
CMYKcmyk(0%, 71.6%, 53.4%, 42%)
CIE-LABlab(34.77, 45.95, 9.35)
CIE-LCHlch(34.77, 46.90, 11.50°)
OKLaboklab(45.58% 0.1395 0.0239)
OKLCHoklch(45.58% 0.142 9.7)
XYZxyz(14.1161, 8.3834, 6.5039)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942A45 #2A9479
analogous
#942A7A #942A45 #94442A
triadic
#942A45 #45942A #2A4594
tetradic
#942A45 #7A942A #2A9479 #442A94
square
#942A45 #7A942A #2A9479 #442A94
split-complementary
#942A45 #2A9444 #2A7A94
monochromatic
#350F19 #641C2F #942A45 #C4385B #D36581

Accessibility & contrast

On white

7.85
#942A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#942A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942A45
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942A45#FFFFFF#000000##FFFFFF
##942A451.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444445
Deuteranopia (green-blind)
#5F5A42
Tritanopia (blue-blind)
#A21435
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942a45;
/* rgb */ color: rgb(148, 42, 69);
/* oklch */ color: oklch(45.6% 0.142 9.7);
Tailwind
colors: {
  custom: {
    50: '#b96c78',
    500: '#942a45',
    950: '#000000',
  },
}
SCSS
$custom: #942a45;
$custom-light: #b96c78;
$custom-dark: #000000;
JSON
{
  "hex": "#942a45",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 344.717,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45577,
    "c": 0.14152,
    "h": 9.7
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#942A45
secondary
#60B9A3
accent
#DFB949
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #942A45

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

Preview Lab → · Contrast checker → · Palette generator →

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