#952478#952478

#952478 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.172 H 340.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#952478
RGBrgb(149, 36, 120)
HSLhsl(315, 61%, 36%)
HSVhsv(315, 76%, 58%)
CMYKcmyk(0%, 75.8%, 19.5%, 41.6%)
CIE-LABlab(36.00, 54.30, -21.39)
CIE-LCHlch(36.00, 58.37, 338.50°)
OKLaboklab(47.11% 0.1622 -0.0577)
OKLCHoklch(47.11% 0.172 340.4)
XYZxyz(16.4159, 9.0090, 18.6400)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952478 #249541
analogous
#7A2495 #952478 #952440
triadic
#952478 #789524 #247895
tetradic
#952478 #957A24 #249541 #244095
square
#952478 #957A24 #249541 #244095
split-complementary
#952478 #409524 #24957A
monochromatic
#320C29 #641850 #952478 #C630A0 #D85CB8

Accessibility & contrast

On white

7.50
#952478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#952478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952478
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952478#FFFFFF#000000##FFFFFF
##9524781.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#9E274B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #952478;
/* rgb */ color: rgb(149, 36, 120);
/* oklch */ color: oklch(47.1% 0.172 340.4);
Tailwind
colors: {
  custom: {
    50: '#b86b9f',
    500: '#952478',
    950: '#000000',
  },
}
SCSS
$custom: #952478;
$custom-light: #b86b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#952478",
  "rgb": {
    "r": 149,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 315.398,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.17218,
    "h": 340.4
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#952478
secondary
#59BC72
accent
#E46D44
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952478

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

Preview Lab → · Contrast checker → · Palette generator →

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