#230218#230218

#230218 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.6% C 0.068 H 343.6°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#230218
RGBrgb(35, 2, 24)
HSLhsl(320, 89%, 7%)
HSVhsv(320, 94%, 14%)
CMYKcmyk(0%, 94.3%, 31.4%, 86.3%)
CIE-LABlab(4.22, 17.84, -5.71)
CIE-LCHlch(4.22, 18.73, 342.24°)
OKLaboklab(17.61% 0.0648 -0.0191)
OKLCHoklch(17.61% 0.068 343.6)
XYZxyz(0.8798, 0.4668, 0.9077)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230218 #02230D
analogous
#1E0223 #230218 #230208
triadic
#230218 #182302 #021823
tetradic
#230218 #231E02 #02230D #020823
square
#230218 #231E02 #02230D #020823
split-complementary
#230218 #082302 #02231E
monochromatic
#1D0214 #1D0214 #230218 #5D0540 #970967

Accessibility & contrast

On white

19.21
#230218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#230218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230218
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230218#FFFFFF#000000##FFFFFF
##2302181.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040B19
Deuteranopia (green-blind)
#0F1117
Tritanopia (blue-blind)
#26020B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #230218;
/* rgb */ color: rgb(35, 2, 24);
/* oklch */ color: oklch(17.6% 0.068 343.6);
Tailwind
colors: {
  custom: {
    50: '#5e4754',
    500: '#230218',
    950: '#000000',
  },
}
SCSS
$custom: #230218;
$custom-light: #5e4754;
$custom-dark: #000000;
JSON
{
  "hex": "#230218",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 320,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17611,
    "c": 0.06753,
    "h": 343.6
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#230218
secondary
#186933
accent
#FF7029
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #230218

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

Preview Lab → · Contrast checker → · Palette generator →

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