#942571#942571

#942571 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.166 H 343.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#942571
RGBrgb(148, 37, 113)
HSLhsl(319, 60%, 36%)
HSVhsv(319, 75%, 58%)
CMYKcmyk(0%, 75%, 23.6%, 42%)
CIE-LABlab(35.62, 52.74, -17.59)
CIE-LCHlch(35.62, 55.59, 341.55°)
OKLaboklab(46.7% 0.159 -0.047)
OKLCHoklch(46.7% 0.166 343.5)
XYZxyz(15.8555, 8.8129, 16.4856)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942571 #259448
analogous
#802594 #942571 #94253A
triadic
#942571 #719425 #257194
tetradic
#942571 #948025 #259448 #253A94
square
#942571 #948025 #259448 #253A94
split-complementary
#942571 #3A9425 #259480
monochromatic
#320D26 #63194C #942571 #C53196 #D65DB0

Accessibility & contrast

On white

7.60
#942571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#942571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942571
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942571#FFFFFF#000000##FFFFFF
##9425711.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9E2548
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942571;
/* rgb */ color: rgb(148, 37, 113);
/* oklch */ color: oklch(46.7% 0.166 343.5);
Tailwind
colors: {
  custom: {
    50: '#b76b9a',
    500: '#942571',
    950: '#000000',
  },
}
SCSS
$custom: #942571;
$custom-light: #b76b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942571",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 318.919,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.16583,
    "h": 343.5
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#942571
secondary
#59BB78
accent
#E37745
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942571

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

Preview Lab → · Contrast checker → · Palette generator →

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