#6E1238#6E1238

#6E1238 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.0% C 0.128 H 1.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#6E1238
RGBrgb(110, 18, 56)
HSLhsl(335, 72%, 25%)
HSVhsv(335, 84%, 43%)
CMYKcmyk(0%, 83.6%, 49.1%, 56.9%)
CIE-LABlab(23.78, 41.64, 1.39)
CIE-LCHlch(23.78, 41.67, 1.91°)
OKLaboklab(35.97% 0.1279 0.004)
OKLCHoklch(35.97% 0.128 1.8)
XYZxyz(7.3611, 4.0341, 4.1317)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1238 #126E48
analogous
#6E1266 #6E1238 #6E1A12
triadic
#6E1238 #386E12 #12386E
tetradic
#6E1238 #666E12 #126E48 #1A126E
square
#6E1238 #666E12 #126E48 #1A126E
split-complementary
#6E1238 #126E1A #12666E
monochromatic
#1A040D #39091D #6E1238 #A31B53 #D7236E

Accessibility & contrast

On white

11.62
#6E1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#6E1238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1238
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1238#FFFFFF#000000##FFFFFF
##6E12381.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D39
Deuteranopia (green-blind)
#413F36
Tritanopia (blue-blind)
#780023
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6e1238;
/* rgb */ color: rgb(110, 18, 56);
/* oklch */ color: oklch(36.0% 0.128 1.8);
Tailwind
colors: {
  custom: {
    50: '#9c5b6e',
    500: '#6e1238',
    950: '#000000',
  },
}
SCSS
$custom: #6e1238;
$custom-light: #9c5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1238",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 335.217,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.12793,
    "h": 1.8
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#6E1238
secondary
#37A578
accent
#EFA439
background
#FAF5F6
surface
#F4E9EB
border
#CEC5C6
text
#0F0407
muted
#7F797A

Preview Lab

Preview with #6E1238

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

Preview Lab → · Contrast checker → · Palette generator →

#6E1238 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva