#942045#942045

#942045 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.152 H 7.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#942045
RGBrgb(148, 32, 69)
HSLhsl(341, 64%, 35%)
HSVhsv(341, 78%, 58%)
CMYKcmyk(0%, 78.4%, 53.4%, 42%)
CIE-LABlab(33.48, 49.55, 7.55)
CIE-LCHlch(33.48, 50.12, 8.66°)
OKLaboklab(44.62% 0.1511 0.0195)
OKLCHoklch(44.62% 0.152 7.3)
XYZxyz(13.8047, 7.7605, 6.4001)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942045 #20946F
analogous
#94207F #942045 #943520
triadic
#942045 #459420 #204594
tetradic
#942045 #7F9420 #20946F #352094
square
#942045 #7F9420 #20946F #352094
split-complementary
#942045 #209435 #207F94
monochromatic
#2F0A16 #62152E #942045 #C62B5C #DA547F

Accessibility & contrast

On white

8.23
#942045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#942045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942045
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942045#FFFFFF#000000##FFFFFF
##9420451.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#5C5742
Tritanopia (blue-blind)
#A20030
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #942045;
/* rgb */ color: rgb(148, 32, 69);
/* oklch */ color: oklch(44.6% 0.152 7.3);
Tailwind
colors: {
  custom: {
    50: '#b96778',
    500: '#942045',
    950: '#000000',
  },
}
SCSS
$custom: #942045;
$custom-light: #b96778;
$custom-dark: #000000;
JSON
{
  "hex": "#942045",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 340.862,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44623,
    "c": 0.15231,
    "h": 7.3
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#942045
secondary
#52BE9B
accent
#E7B240
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #942045

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

Preview Lab → · Contrast checker → · Palette generator →

#942045 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva