#671242#671242

#671242 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.126 H 351.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#671242
RGBrgb(103, 18, 66)
HSLhsl(326, 70%, 24%)
HSVhsv(326, 83%, 40%)
CMYKcmyk(0%, 82.5%, 35.9%, 59.6%)
CIE-LABlab(22.69, 40.74, -7.28)
CIE-LCHlch(22.69, 41.38, 349.87°)
OKLaboklab(35.03% 0.1249 -0.0188)
OKLCHoklch(35.03% 0.126 351.4)
XYZxyz(6.7936, 3.7103, 5.5116)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671242 #126737
analogous
#611267 #671242 #671217
triadic
#671242 #426712 #124267
tetradic
#671242 #676112 #126737 #121767
square
#671242 #676112 #126737 #121767
split-complementary
#671242 #176712 #126761
monochromatic
#1A0511 #330921 #671242 #9B1B63 #CF2485

Accessibility & contrast

On white

12.06
#671242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#671242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671242
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671242#FFFFFF#000000##FFFFFF
##6712421.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C43
Deuteranopia (green-blind)
#3A3C40
Tritanopia (blue-blind)
#6F0A28
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #671242;
/* rgb */ color: rgb(103, 18, 66);
/* oklch */ color: oklch(35.0% 0.126 351.4);
Tailwind
colors: {
  custom: {
    50: '#965a76',
    500: '#671242',
    950: '#000000',
  },
}
SCSS
$custom: #671242;
$custom-light: #965a76;
$custom-dark: #000000;
JSON
{
  "hex": "#671242",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 326.118,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.12632,
    "h": 351.4
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#671242
secondary
#369F64
accent
#ED883B
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0E0408
muted
#7E797B

Preview Lab

Preview with #671242

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

Preview Lab → · Contrast checker → · Palette generator →

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