#F23ECC#F23ECC

#F23ECC is a light, highly saturated pink. Relative luminance 0.267; OKLCH L 67.8% C 0.254 H 338.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#F23ECC
RGBrgb(242, 62, 204)
HSLhsl(313, 87%, 60%)
HSVhsv(313, 74%, 95%)
CMYKcmyk(0%, 74.4%, 15.7%, 5.1%)
CIE-LABlab(58.68, 79.66, -34.91)
CIE-LCHlch(58.68, 86.97, 336.34°)
OKLaboklab(67.76% 0.236 -0.0947)
OKLCHoklch(67.76% 0.254 338.1)
XYZxyz(49.2408, 26.6869, 59.6728)
Luminance0.2668 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F23ECC #3EF264
analogous
#BE3EF2 #F23ECC #F23E72
triadic
#F23ECC #CCF23E #3ECCF2
tetradic
#F23ECC #F2BE3E #3EF264 #3E72F2
square
#F23ECC #F2BE3E #3EF264 #3E72F2
split-complementary
#F23ECC #72F23E #3EF2BE
monochromatic
#AA0B89 #E30FB7 #F23ECC #F677DB #FAB1EA

Accessibility & contrast

On white

3.31
#F23ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#F23ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F23ECC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F23ECC#FFFFFF#000000##000000
##F23ECC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BD0
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#FF4881
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f23ecc;
/* rgb */ color: rgb(242, 62, 204);
/* oklch */ color: oklch(67.8% 0.254 338.1);
Tailwind
colors: {
  custom: {
    50: '#fb85dc',
    500: '#f23ecc',
    950: '#000000',
  },
}
SCSS
$custom: #f23ecc;
$custom-light: #fb85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f23ecc",
  "rgb": {
    "r": 242,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 312.667,
    "s": 87.379,
    "l": 59.608
  },
  "oklch": {
    "l": 0.67755,
    "c": 0.25426,
    "h": 338.1
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#F23ECC
secondary
#A3E9B2
accent
#FE572A
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180C15
muted
#867D83

Preview Lab

Preview with #F23ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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