#661258#661258

#661258 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.0% C 0.140 H 336.0°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#661258
RGBrgb(102, 18, 88)
HSLhsl(310, 70%, 24%)
HSVhsv(310, 82%, 40%)
CMYKcmyk(0%, 82.4%, 13.7%, 60%)
CIE-LABlab(23.55, 43.59, -20.84)
CIE-LCHlch(23.55, 48.31, 334.45°)
OKLaboklab(35.95% 0.128 -0.0569)
OKLCHoklch(35.95% 0.14 336)
XYZxyz(7.4574, 3.9627, 9.6027)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661258 #126620
analogous
#4A1266 #661258 #66122E
triadic
#661258 #586612 #125866
tetradic
#661258 #664A12 #126620 #122E66
square
#661258 #664A12 #126620 #122E66
split-complementary
#661258 #2E6612 #12664A
monochromatic
#1A0516 #32092B #661258 #9A1B85 #CE24B2

Accessibility & contrast

On white

11.72
#661258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#661258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661258
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661258#FFFFFF#000000##FFFFFF
##6612581.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#323C56
Tritanopia (blue-blind)
#6C1934
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #661258;
/* rgb */ color: rgb(102, 18, 88);
/* oklch */ color: oklch(36.0% 0.140 336.0);
Tailwind
colors: {
  custom: {
    50: '#955b87',
    500: '#661258',
    950: '#000000',
  },
}
SCSS
$custom: #661258;
$custom-light: #955b87;
$custom-dark: #000000;
JSON
{
  "hex": "#661258",
  "rgb": {
    "r": 102,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 310,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35954,
    "c": 0.14002,
    "h": 336
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#661258
secondary
#369E47
accent
#ED593B
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #661258

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

Preview Lab → · Contrast checker → · Palette generator →

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