#942452#942452

#942452 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.152 H 0.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#942452
RGBrgb(148, 36, 82)
HSLhsl(335, 61%, 36%)
HSVhsv(335, 76%, 58%)
CMYKcmyk(0%, 75.7%, 44.6%, 42%)
CIE-LABlab(34.33, 49.40, 0.30)
CIE-LCHlch(34.33, 49.40, 0.35°)
OKLaboklab(45.37% 0.1516 0.0014)
OKLCHoklch(45.37% 0.152 0.5)
XYZxyz(14.3677, 8.1687, 8.8011)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942452 #249466
analogous
#94248A #942452 #942E24
triadic
#942452 #529424 #245294
tetradic
#942452 #8A9424 #249466 #2E2494
square
#942452 #8A9424 #249466 #2E2494
split-complementary
#942452 #24942E #248A94
monochromatic
#320C1B #631837 #942452 #C5306D #D75B8E

Accessibility & contrast

On white

7.97
#942452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#942452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942452
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942452#FFFFFF#000000##FFFFFF
##9424521.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#5B594F
Tritanopia (blue-blind)
#A11138
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942452;
/* rgb */ color: rgb(148, 36, 82);
/* oklch */ color: oklch(45.4% 0.152 0.5);
Tailwind
colors: {
  custom: {
    50: '#b86982',
    500: '#942452',
    950: '#000000',
  },
}
SCSS
$custom: #942452;
$custom-light: #b86982;
$custom-dark: #000000;
JSON
{
  "hex": "#942452",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 335.357,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.1516,
    "h": 0.5
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#942452
secondary
#58BC93
accent
#E4A244
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #942452

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

Preview Lab → · Contrast checker → · Palette generator →

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