#942671#942671

#942671 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 343.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#942671
RGBrgb(148, 38, 113)
HSLhsl(319, 59%, 36%)
HSVhsv(319, 74%, 58%)
CMYKcmyk(0%, 74.3%, 23.6%, 42%)
CIE-LABlab(35.74, 52.39, -17.41)
CIE-LCHlch(35.74, 55.21, 341.62°)
OKLaboklab(46.79% 0.158 -0.0465)
OKLCHoklch(46.79% 0.165 343.6)
XYZxyz(15.8871, 8.8760, 16.4962)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942671 #269449
analogous
#802694 #942671 #94263A
triadic
#942671 #719426 #267194
tetradic
#942671 #948026 #269449 #263A94
square
#942671 #948026 #269449 #263A94
split-complementary
#942671 #3A9426 #269480
monochromatic
#330D27 #63194C #942671 #C53396 #D65FB0

Accessibility & contrast

On white

7.57
#942671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#942671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942671
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942671#FFFFFF#000000##FFFFFF
##9426711.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#9E2648
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942671;
/* rgb */ color: rgb(148, 38, 113);
/* oklch */ color: oklch(46.8% 0.165 343.6);
Tailwind
colors: {
  custom: {
    50: '#b76b9a',
    500: '#942671',
    950: '#000000',
  },
}
SCSS
$custom: #942671;
$custom-light: #b76b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942671",
  "rgb": {
    "r": 148,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 319.091,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.16466,
    "h": 343.6
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#942671
secondary
#5BBB79
accent
#E27745
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942671

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

Preview Lab → · Contrast checker → · Palette generator →

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